help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Print plot error


From: Dmitri A. Sergatskov
Subject: Re: Print plot error
Date: Mon, 24 Aug 2009 17:19:31 -0500

On Mon, Aug 24, 2009 at 4:39 PM, Rob Mahurin<address@hidden> wrote:
>> for now.
>
> Oh!  I didn't realize waitpid was also an Octave function.
>
> You probably want waitpid(-1,WNOHANG) so that print won't freeze if there is
> actually no child.
>
> Attached as a patch (which is not a changeset, sorry).  This would be good
> for 3.2.3.
>
> Rob
>
> --
> Rob Mahurin
> University of Manitoba, Dept. of Physics & Astronomy
> at:     Oak Ridge National Laboratory   865 207 2594
>        Oak Ridge, Tennessee           address@hidden
>

With WNOHANG I see few (one or two) defunct processes remains after
loop of ~100 prints.

Dmitri.
--



reply via email to

[Prev in Thread] Current Thread [Next in Thread]