home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.programmer
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!mips!sdd.hp.com!wupost!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!hobbes.physics.uiowa.edu!news.uiowa.edu!news.weeg.uiowa.edu!schwaigr
- From: schwaigr@news.weeg.uiowa.edu (Jim Schwaiger)
- Subject: Yielding a Timeslice
- Message-ID: <1992Aug19.184837.24219@news.weeg.uiowa.edu>
- Organization: University of Iowa, Iowa City, IA, USA
- Date: Wed, 19 Aug 1992 18:48:37 GMT
- Lines: 7
-
- Is there a standard (or commonly accepted) way for a program to yield
- its timeslice? I have a program which checks on a condition in shared
- memory and would like to sleep (for less than 1 second) if that condition
- is not met, rather than waiting in the "hot" loop.
-
- Jim Schwaiger
-
-