Date: Wed, 10 Jul 2002 13:52:26 -0700 From: Terry Lambert <tlambert2@mindspring.com> To: Archie Cobbs <archie@dellroad.org> Cc: John Baldwin <jhb@FreeBSD.org>, davidx@viasoft.com.cn, freebsd-arch@FreeBSD.org, julian@elischer.org Subject: Re: Timeout and SMP race Message-ID: <3D2C9E8A.8D7657E7@mindspring.com> References: <200207101815.g6AIFDm28655@arch20m.dellroad.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Archie Cobbs wrote: > [ NOTE: I'm moving this discussion to freebsd-arch@freebsd.org ] > > FWIW, here is an API I've used before. This handles all race > conditions and the 'other thread' question. I like this timer API. You need to add a timer_modify_interval (or something similar), so that intervals can be changed without having to destroy and recreate the timer, though, to avoid another potential race condition. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D2C9E8A.8D7657E7>