guy@rlgvax.UUCP (Guy Harris) (07/17/83)
It turns out the speedup was due to other causes; pause() sleeps on &u for all processes where it is called. Therefore, anybody who gets woken up during a pause() wakes up everybody else who is pause()ing, so the old problem is still there. To remove this problem, make pause() sleep on u.u_procp+1 or some other unique number (u.u_procp is out because wait() sleeps there). Guy Harris {seismo,mcnc,we13,brl-bmd,allegra}!rlgvax!guy