Synchronous input performance question

Len Schlegel (
Sat, 14 May 88 12:10:56 PDT

Forgive me if this question is inappropriate for this group.

In unix systems it seems that you can block awaiting input on some socket in
two ways. Either you use a blocking socket and then read (or block at
a select call) and continue when input arrives, or have your
socket set so that a SIGIO is generated when input arrives, at which
point you do your read (or select) in your signal handler. The blocking
can be achieved by using the sigpause call. In the later case, the socket
can be non-blocking.
        The question is are there performance implications in using
one approach over the other.


Len Schlegel

This archive was generated by hypermail 2.0b3 on Thu Mar 09 2000 - 14:42:14 GMT