Re: kqueue & pthread

2005-02-20 Thread Dmitry Agaphonov
On Wed, 9 Feb 2005 10:51:36 -0500 Brian Fundakowski Feldman <[EMAIL PROTECTED]> wrote: BFF> The LinuxThreads library seems to be the best-supported way. I don't think BFF> that there should be legal/licensing issues using it. Unfortunatelly, I can't use the LinuxThreads library, it simpl

Re: kqueue & pthread

2005-02-09 Thread Brian Fundakowski Feldman
On Wed, Feb 09, 2005 at 06:39:52PM +0300, Dmitry Agaphonov wrote: > On Wed, 9 Feb 2005 09:49:24 -0500 > Brian Fundakowski Feldman <[EMAIL PROTECTED]> wrote: > > BFF> Since you're using user threads, not kernel threads, the kernel can only > BFF> have one "object" (poll or select list, or k

Re: kqueue & pthread

2005-02-09 Thread Dmitry Agaphonov
On Wed, 9 Feb 2005 09:49:24 -0500 Brian Fundakowski Feldman <[EMAIL PROTECTED]> wrote: BFF> Since you're using user threads, not kernel threads, the kernel can only BFF> have one "object" (poll or select list, or kqueue file descriptor) to wait BFF> upon at any given time. Since kqueues a

Re: kqueue & pthread

2005-02-09 Thread Brian Fundakowski Feldman
On Wed, Feb 09, 2005 at 05:36:25PM +0300, Dmitry Agaphonov wrote: > Hello all, > > There's a server application that use non-bloking sockets with kqueue in > its main thread and blocking I/O in two auxiliary threads. While watching > the server in top(1), I've noticed that it is in the 'poll' sta