Keeping an eye on hung system calls..

Dave Hodgkinson davehodg at gmail.com
Tue Jun 6 17:50:51 BST 2006


On 6 Jun 2006, at 14:43, Thomas Yandell wrote:

> Lusercop wrote:
>> On Tue, Jun 06, 2006 at 12:59:05PM +0100, Thomas Yandell wrote:
>>
>>> if (my $child = fork) {
>>> else {
>>>
>>
>> Where's the "fork() failed" error handling?
>>
>> Grr.
>>
>>
> My bad:
>
> my $child = fork;
> die "could not fork" unless defined $child;
> if ($child) {
> ...

A reason would be good...

-- 
Dave Hodgkinson - Music photography
http://www.davehodgkinson.com/




More information about the london.pm mailing list