Date: Fri, 11 Jul 2003 10:24:23 -0400 (EDT) From: Daniel Eischen <eischen@vigrid.com> To: Andrew Gallatin <gallatin@cs.duke.edu> Cc: freebsd-threads@freebsd.org Subject: Re: dumb KSE question Message-ID: <Pine.GSO.4.10.10307111018150.815-100000@pcnet5.pcnet.com> In-Reply-To: <16142.50418.692392.183187@grasshopper.cs.duke.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
There's no such thing as a dumb question... On Fri, 11 Jul 2003, Andrew Gallatin wrote: > > We have a driver which will block a thread in a cv_timewait_sig() > after it calls into driver via an ioctl. Under libc_r, this will > naturally block the entire process until the driver wakes it up via a > cv_signal(). > > I assume that with KSE, the UTS will schedule another thread to run as > a result of calling the cv_timewait_sig()? Ie, it won't block the > entire process? That's a dumb question :-) All joking aside, it is suppose to make a callback into the UTS so another thread can run and shouldn't block the process. It will be automatic and your driver does not need to do anything special. -- Dan Eischen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10307111018150.815-100000>