Sys V fork IS broken!
Gary Mills
mills at ccu.umanitoba.ca
Tue Jul 31 13:01:38 AEST 1990
gwyn at smoke.BRL.MIL (Doug Gwyn) writes:
>In article <1990Jul28.195032.18746 at watdragon.waterloo.edu> tbray at watsol.waterloo.edu (Tim Bray) writes:
>> if ((child = fork()) == -1)
>> FatalSystemError("Serious system trouble! Can't create process!");
>The bug is that your application makes no attempt to recover from a known
>class of error, EAGAIN in this case. I would say the same thing about a
My old Sys V manual says EAGAIN is also set by fork when the limits on total
number of processes would be exceeded. I don't think you would normally
want to retry in this case. Issuing a message and exiting would be better.
--
-Gary Mills- -University of Manitoba- -Winnipeg-
More information about the Comp.unix.wizards
mailing list