On Mon, Aug 13, 2001 at 01:18:52PM -0400, Daniel M. Eischen wrote:
We don't provide locking for fd's any longer (I thought this was only in
-current, but your results seem to indicate otherwise). If we did, only
one thread would wake up. The mistake in your sample seems to be that
you're
In article [EMAIL PROTECTED],
Jonathan Chen [EMAIL PROTECTED] wrote:
Incidentally, I'm still curious, what does the POSIX spec say all this?
As far as I know, poll is not described by any POSIX standards.
John
--
John Polstra [EMAIL
On Tue, 14 Aug 2001, Jonathan Chen wrote:
On Mon, Aug 13, 2001 at 01:18:52PM -0400, Daniel M. Eischen wrote:
We don't provide locking for fd's any longer (I thought this was only in
-current, but your results seem to indicate otherwise). If we did, only
one thread would wake up. The
Daniel M. Eischen wrote:
We don't provide locking for fd's any longer (I thought this was only in
-current, but your results seem to indicate otherwise). If we did, only
one thread would wake up. The mistake in your sample seems to be that
you're having all threads block on the same fd.
[pulls out his dead horse..]
one thread would wake up. The mistake in your sample seems to be that
you're having all threads block on the same fd. Why?
Probably he has a bunch of daemons waiting around for work to
do (e.g. HTTP daemons all listening for connections to accept
on the
* Zach Brown [EMAIL PROTECTED] [010814 17:42] wrote:
[pulls out his dead horse..]
one thread would wake up. The mistake in your sample seems to be that
you're having all threads block on the same fd. Why?
Probably he has a bunch of daemons waiting around for work to
do (e.g.
Yesterday marked my first attempt at mixing poll() with pthreads.
Needless to say, things did not work out the way I wanted them to. So, I
began the task of finding out the behaviors of various OSes to see if my
code would run fine on them. For your reference and amusement, my results
Jonathan Chen wrote:
Yesterday marked my first attempt at mixing poll() with pthreads.
Needless to say, things did not work out the way I wanted them to. So, I
began the task of finding out the behaviors of various OSes to see if my
code would run fine on them. For your reference
8 matches
Mail list logo