Is System V.4 fork reliable?

Alan Bland mab at druwy.ATT.COM
Tue Jul 10 11:17:42 AEST 1990


In article <561 at oglvee.UUCP> jr at oglvee.UUCP (Jim Rosenberg) writes:
>The number of utilities that both use fork and also understand that under
>some circumstances it ought to be *retried* if it fails is pitifully small.

fork(2) isn't the only System V call that needs to be retried under some
circumstances.  poll(2) is another one that can fail with EAGAIN, which means
it may work if you try again.  There are also others -- pay attention to
the errno descriptions in the programmers reference guide.
--
-- Alan Bland
-- att!druwy!mab == mab at druwy.ATT.COM
-- AT&T Bell Laboratories, Denver CO
-- (303)538-3510



More information about the Comp.unix.wizards mailing list