Hi Jason,
Nice work.
Curious, this differs in POSIX, I know, but... How long should CUR wait,
what if TRY never finishes and wait cannot retrieve the exit status to
determine normal or abnormal (because of various scenarios) and the
specified process never terminates ?
} else {
// I am CUR. I wait for TRY to finish. If TRY succeeds I never wake
up. If TRY fails, I goto the
// top of the steady-state loop and try again
std::run::waitpid(pid);
printfln!("%d: CUR saw TRY process exit, must have failed. Going to
top of loop to spawn a new try.",
getpid() as int);
--
-Thad
Thad on Freebase.com <http://www.freebase.com/view/en/thad_guidry>
Thad on LinkedIn <http://www.linkedin.com/in/thadguidry/>
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev