Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Nov 1998 11:22:36 +1100 (EST)
From:      John Birrell  <jb@cimlogic.com.au>
To:        reg@shale.csir.co.za (Jeremy Lea)
Cc:        current@FreeBSD.ORG
Subject:   Re: poll() for pthreads?
Message-ID:  <199811050022.LAA24698@cimlogic.com.au>
In-Reply-To: <19981105005122.A13038@shale.csir.co.za> from Jeremy Lea at "Nov 5, 98 00:51:22 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Jeremy Lea wrote:
> The CVS logs show that poll() is being hidden in libc_r because a
> wrapper has not been written...  However, this is way out of my league. 
> Does anyone have such a wrapper in their local tree, or is it a hard
> thing to write?  And would looking at the NSPR thread-safe wrapper for
> poll() help?

To implement poll(2) properly, the internal use of select(2) as the
blocking mechanism needs to be changed to use poll. It's not just a matter
of a wrapper, since you can implement true poll functionality with
select.

I thought Netscape were using their own threads.

-- 
John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/
CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811050022.LAA24698>