waitpid

Cameron Simpson cs at zip.com.au
Thu Feb 15 23:15:32 UTC 2007


On 15Feb2007 17:03, Kartik CDS <kartik.cds at gmail.com> wrote:
| Hello I am using waitpid with WNOHANG and WUNTRACED options.
| Is there any interface which gives the same functionality as waitpid but
| will allow me to specify a time for which I want the call to be blocked ?

Not that's I'm aware of. You could set an alarm with alarm(), and catch
the signal, or spin off a thread I guess.
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

1st Law Economists: For every economist there exists an equal and opposite
                    economist.
2nd Law Economists: They're both always wrong!




More information about the redhat-list mailing list