Load Average

Clemens Schrimpe csch at netcs.UUCP
Sat Jul 8 03:29:02 AEST 1989


nick at qtnet.UUCP (Nick Lawes) writes:
<> That's interesting... Having read in the installation guide (I think)
<> that the select() call was now supported, I thought I'd investigate..
<> The first thing I noticed was a total lack of mention of it in the
<> documentation (or am I missing something?). I finally found the call
<> by scanning the libraries. Slibtinfo.a seems a strange place for a
<> system call interface, but still, ours not to reason why...
Hmmm ... since support for select() came up first in 2.3.1 it's
naturally mentioned first in the 2.3.1 Development System, which is currently
shipping as I've heard.

<> Having never used select() before, I turned to the SUN 3 and with the
<> aid of the manuals wrote a test program to poll a couple of fifo's.
<> This worked fine! Okay, move the code to the Xenix box and try to run
<> it there... No way will it work!
I't won't even work on SunOS 4.x (I tried) !

This is because fifo's in BSD are sockets, while they are 'pipes' in SYS-V!
The select always shows, that the fifo is 'readable' on SYS-V (and SunOS 4.x) !

Clemens Schrimpe
--
UUCP:		csch at netcs		BITNET:	csch at db0tui6.BITNET
ARPA/NSF:	csch at garp.mit.edu	PSI: PSI%45300033047::CSCH
PHONE:		+49-30-24 42 37		FAX: +49-30-24 38 00
BTX:		0303325016-0003		TELEX: 186672 net d



More information about the Comp.unix.xenix mailing list