Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jul 2003 10:14:11 -0700 (PDT)
From:      Julian Elischer <julian@elischer.org>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: dumb KSE question
Message-ID:  <Pine.BSF.4.21.0307111013350.40558-100000@InterJet.elischer.org>
In-Reply-To: <16142.50418.692392.183187@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help


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?

yes, both libthr and libkse will allow your process to continue, sans
thread.

> 
> Thanks,
> 
> Drew
> 
> _______________________________________________
> freebsd-threads@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-threads
> To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0307111013350.40558-100000>