Date: Fri, 27 Sep 2002 17:29:00 +0100 From: Mark Murray <mark@grondar.za> To: John Baldwin <jhb@FreeBSD.org> Cc: arch@FreeBSD.org Subject: Re: [patch] module-with-thread exit routine. Message-ID: <200209271629.g8RGT0wf051750@grimreaper.grondar.org> In-Reply-To: <XFMail.20020927113549.jhb@FreeBSD.org> ; from John Baldwin <jhb@FreeBSD.org> "Fri, 27 Sep 2002 11:35:49 EDT." References: <XFMail.20020927113549.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> Think of the cv as a wakeup to the kthread to tell it to go examine > 'event' and see that it needs to die. The trick here is you need to > make sure you don't miss the wakeup. Thus, you need to atomically > signal the thread to die and then block waiting for it to die. Aaaaah! That makes sense. Thanks! M -- o Mark Murray \_ O.\_ Warning: this .sig is umop ap!sdn 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?200209271629.g8RGT0wf051750>