sleep()

kwmc at hou5d.UUCP kwmc at hou5d.UUCP
Thu Jul 7 05:28:19 AEST 1983


Regarding a bug in sleep. There is yet another bug in that on a heavily
loaded system it is possible for the alarm to go off before the pause is ever
entered.  Thus sleep(1) on a heavily loaded system COULD sleep forever.  This
happened here, and we reinstated sleep as a system call in itself to fix
the problem. Sleep used to be a system call in the dim and distant past. I feel
that it still should be.
			Ken Cochran       hou5d!kwmc



More information about the Comp.unix.wizards mailing list