On Sat, Apr 19, 2008 at 5:43 PM, Jonathan Schleifer <[EMAIL PROTECTED]> wrote: > "Edwin Eyan Moragas" <[EMAIL PROTECTED]> wrote: > > > > the question is, which one is more useful when writing new servers? > > kqueue or poll? > > poll is more portable, while kqueue should be more performant (at > least, that's why it was invented). If your app only needs to run on > OpenBSD, NetBSD and FreeBSD, you're just fine with kqueue, otherwise > use poll. Generally, I think it's better to use poll and sacrifice that > unnoticable performance gain.
thank you Jonathan. it seems poll's the way to go. > > -- > Jonathan > -- garnet:jasmin:beryllium:gluon 90-12264 90-B