talk session
Sean Eric Fagan
sef at kithrup.COM
Sat May 11 06:36:25 AEST 1991
In article <7739 at auspex.auspex.com> guy at auspex.auspex.com (Guy Harris) writes:
>>SunOS: usleep()
>Welcome to the club - the club, that is, of folks who think "usleep()"
>is a SunOS-ism. Dunno how people get into that club; perhaps the first
>UNIX system on which they see "usleep()" is a SunOS system.
>"usleep()" first appeared in 4.3BSD; SunOS picked it up from there.
Ok. I never got to play with a 4.3BSD system until a couple of years ago,
and, even then, there were quite a few modifications made locally.
>>SysVr3.[01]: use poll(); this might not be present in your version of
>> SysVr3.[01]
>What versions of S5R3.[01] deleted "poll()"?
The version of SysVr3.0 for teh 3B15 that CSU Northridge got when I was
there did not have STREAMS, and, therefore, didn't have poll(). (And, yeah,
I checked: it didn't have poll().)
I don't know if that was a weird release, or if it was standard. I am
fairly certain that STREAMS were standard for 3.1 and later.
>>4.[23]BSD: use select() (similar to poll() above, but more portable)
>4.3BSD-and-later: use "usleep()".
Ok. It is better than select(), or at least more intuitive and obvious what
you have to do 8-).
--
Sean Eric Fagan | "I made the universe, but please don't blame me for it;
sef at kithrup.COM | I had a bellyache at the time."
-----------------+ -- The Turtle (Stephen King, _It_)
Any opinions expressed are my own, and generally unpopular with others.
More information about the Comp.unix.questions
mailing list