Re: to select() or poll() ??



spambox1@xxxxxxxxxxxxxx writes:

Which asynchronous multiplexer is "recommended" to use, select() or
poll(). From the Solaris man pages, I read the following;

"The poll(2) function is preferred over this function. It must be
used when the number of file descriptors wxceeds FD_SETSIZE"

Linux offers in libevent a "call back" functionality for multiplexing
I/O desccriptors. Are these functions accepted as portable standard c
libraries?

poll(2) is a standard "POSIX" function. Solaris also has "/dev/poll"
(from S2.6 or 7) and event ports (starting in Solaris 10).

Noen of libevent, /dev/poll or event ports are standard.


Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
.



Relevant Pages

  • Re: Can anyone help? :Sparc 5 Solaris 1.1/SunOS 4.1.3
    ... Do you know what Rich Teer means by, ... able proper etiquette I will not bother this newsgroup until I have honed my ... > to opinions held by my employer, Sun Microsystems. ...
    (comp.unix.solaris)
  • Re: High values for UID
    ... The internal disks are completely ... Pointless excercise if you want to reduce space used. ... Expressed in this posting are my opinions. ... to opinions held by my employer, Sun Microsystems. ...
    (comp.unix.solaris)
  • Re: Can anyone help? :Sparc 5 Solaris 1.1/SunOS 4.1.3
    ... versions support SuperSPARC MP or any of the new graphics hardware ... and select the "SS5" (Under EOL systems) ... Expressed in this posting are my opinions. ... to opinions held by my employer, Sun Microsystems. ...
    (comp.unix.solaris)
  • Re: Any reason to use SPARC (vs. x86) these days?
    ... is not (supports serial console but without the ability to ... Expressed in this posting are my opinions. ... to opinions held by my employer, Sun Microsystems. ...
    (comp.sys.sun.hardware)
  • Re: fopen() limit on solaris
    ... resource limits or resource constraints. ... Expressed in this posting are my opinions. ... to opinions held by my employer, Sun Microsystems. ...
    (comp.unix.solaris)