RE: [SQU] What is "--enable-poll" for?

From: Chemolli Francesco (USI) <[email protected]>
Date: Fri, 11 Aug 2000 14:17:06 +0200

> It has nothing to do with polling in the sense of peers. Rather, the
> --enable-poll selects, ooops, prefers the poll() system call over the
> select() system call. Some systems, most notably Solaris, can
> only handle
> 1024 open FDs with select(), but an "arbitrary number" when
> using poll().
>
> The system calls do essentially the same (though it is
> rumoured that some
> systems implement one by using the other), that is (put
> short), wait on an
> open FD for something to happen, and notify you which ones.

That is correct.
Linux for instance implements select() using poll() since
sometime in the 2.1 branch (previously it was the reverse AFAIK)

        /kinkie
Received on Fri Aug 11 2000 - 06:13:21 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:50 MST