Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!husc6!bbn!uwmcsd1!marque!uunet!mcvax!enea!kth!draken!chalmers!myab!herder From: herder@myab.se (Jan Herder) Newsgroups: comp.unix.wizards Subject: Re: portable way to do nap() Keywords: delay() in user space... Message-ID: <444@myab.se> Date: 4 Oct 88 14:25:34 GMT References: <543@mpx1.UUCP> Reply-To: herder@myab.UUCP (Jan Herder) Organization: Myab Gothenburg, Sweden Lines: 15 In article <543@mpx1.UUCP> erik@mpx1.UUCP (Erik Murrey) writes: >How can I do a portable nap()? A nap() (under XENIX) allows >a user process to block for a short time, usually a few hundred ms. >Does SysVr3 address this? How about SysVr4? Since SysVr3.2 is a merge between XENIX and SysVr3 nap() should be there. Another way under SysV is to do a read with timeout one a tty. -- Jan Herder, MYAB Sweden | Phone: +46 31 18 75 12 Internet: herder@myab.se | Fax: +46 31 18 28 42 UUCP: uunet!enea!chalmers!myab!herder | Address: Dr. Forseliusg 21 ARPA: herder%myab.se@uunet.uu.net | 413 26 Gothenburg