Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!kithrup!sef From: sef@kithrup.COM (Sean Eric Fagan) Newsgroups: comp.unix.questions Subject: Re: talk session Message-ID: <1991May10.203625.23219@kithrup.COM> Date: 10 May 91 20:36:25 GMT References: <1991May7.102219.25557@ssd.kodak.com> <1991May08.175740.12233@kithrup.COM> <7739@auspex.auspex.com> Organization: Kithrup Enterprises, Ltd. Lines: 32 In article <7739@auspex.auspex.com> guy@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@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.