[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Print plot error
From: |
Rob Mahurin |
Subject: |
Re: Print plot error |
Date: |
Mon, 24 Aug 2009 21:26:09 -0400 |
On Aug 24, 2009, at 9:14 PM, Ben Abbott wrote:
Sorry for my lack ... but will waitpid kill non-zombie children?
There is an active gnuplot for each figure window. Would wiatid
terminate those children as well?
No, see the man page for the wait4() and waitpid() system calls.
waitpid(-1,0) will hang if there are children still running, but
waitpid(-1,WNOHANG) will just return zero.
If there are not children running, waitpid(-1,anything) should just
return -1.
Don't believe me, test it.
Rob
--
Rob Mahurin
University of Manitoba, Dept. of Physics & Astronomy
at: Oak Ridge National Laboratory 865 207 2594
Oak Ridge, Tennessee address@hidden
- Re: Print plot error, (continued)
- Re: Print plot error, Dmitri A. Sergatskov, 2009/08/22
- Re: Print plot error, Rob Mahurin, 2009/08/23
- Re: Print plot error, Ben Abbott, 2009/08/23
- Re: Print plot error, Dmitri A. Sergatskov, 2009/08/24
- Re: Print plot error, Rob Mahurin, 2009/08/24
- Re: Print plot error, Dmitri A. Sergatskov, 2009/08/24
- Re: Print plot error, Rob Mahurin, 2009/08/24
- Re: Print plot error, Ben Abbott, 2009/08/24
- Re: Print plot error, Dmitri A. Sergatskov, 2009/08/24
- Re: Print plot error, Ben Abbott, 2009/08/24
- Re: Print plot error,
Rob Mahurin <=
- Re: Print plot error, Ben Abbott, 2009/08/24
- Re: Print plot error, Ben Abbott, 2009/08/25
- Re: Print plot error, Rob Mahurin, 2009/08/25
- Re: Print plot error, Dmitri A. Sergatskov, 2009/08/25
- Re: Print plot error, Ben Abbott, 2009/08/25
- Re: Print plot error, Rob Mahurin, 2009/08/25
- Re: Print plot error, Ben Abbott, 2009/08/25
- Re: Print plot error, John W. Eaton, 2009/08/25
- Re: Print plot error, Ben Abbott, 2009/08/25
- Re: Print plot error, John W. Eaton, 2009/08/25