Path: utzoo!attcan!uunet!husc6!cmcl2!rutgers!bellcore!faline!thumper!ulysses!andante!alice!debra From: debra@alice.UUCP (Paul De Bra) Newsgroups: comp.unix.wizards Subject: Re: portable way to do nap() Keywords: delay() in user space... Message-ID: <8258@alice.UUCP> Date: 2 Oct 88 17:25:08 GMT References: <543@mpx1.UUCP> Reply-To: debra@alice.UUCP () Organization: AT&T, Bell Labs Lines: 17 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. > >In any case, SysVr2 doesn't support a nap()-like call which is >very useful for two reasons (that I can think of): > I opened my Unix V9 manual, and yes of course, nap(2) is there. So if you wait a few years until the System-V people pick up this idea from research (took a while with streams too as I recall) nap() will become portable. |-------------------------------------------------------------------------- |Paul De Bra | I am completely surrounded by giant bugs ! | |debra@research.att.com | There's millions of them, all over this code! | |uunet!research!debra | Beam me up quickly...Please... | |--------------------------------------------------------------------------