Path: utzoo!utgpu!watserv1!watmath!att!cbnewsb!druwy!mab From: mab@druwy.ATT.COM (Alan Bland) Newsgroups: comp.unix.wizards Subject: Re: Is System V.4 fork reliable? Message-ID: <601@cbnewsb.ATT.COM> Date: 10 Jul 90 01:17:42 GMT References: <561@oglvee.UUCP> Sender: news@cbnewsb.ATT.COM Reply-To: mab@druwy.ATT.COM (Alan Bland) Distribution: na Organization: AT&T Bell Laboratories, Denver Lines: 13 In article <561@oglvee.UUCP> jr@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@druwy.ATT.COM -- AT&T Bell Laboratories, Denver CO -- (303)538-3510