* Jeff Roberson <[EMAIL PROTECTED]> [010130 11:05] wrote:
> Does anyone know if it's safe to use kevents with pthreads yet?  I poked
> around and saw that it is handled in libc_r/uthread, but I also noticed that
> my process that should be waiting in kqread is actually waiting in poll.  If
> I remove -pthread from the compile line it waits in kqread again!  Is
> pthreads just using poll for timeouts?

pthreads puts the kevent into the array of pollfds that it uses to
do non-blocking operations.

-- 
-Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
"I have the heart of a child; I keep it in a jar on my desk."


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to