I don't know what happened, but it seems some e-mails go in my address which should direct to haskell mailing list. rui ----- Forwarded message from John Meacham <john@repetae.net> ----- Date: Wed, 8 Oct 2003 14:02:46 -0700 From: John Meacham <john@repetae.net> Reply-To: John Meacham <john@repetae.net> Subject: non blocking System.system? To: haskell@haskell.org I was curious if there was a version of System.system floating about which doesn't block all threads when doing concurrency? just doing an actual fork and exec isn't sufficient because I need to do haskell things (like write to MVars) after the spawned app finishes. I imagine this might be written by catching sigCHLD and writing to an mvar, but I can't seem to get at the siginfo_t structure from the haskell signal callback to find out the pid of the process which died. John -- --------------------------------------------------------------------------- John Meacham - California Institute of Technology, Alum. - john@foo.net --------------------------------------------------------------------------- _______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell ----- End forwarded message ----- ---------------------------------------- This mail sent through www.mywaterloo.ca
participants (1)
-
r2yang@engmail.uwaterloo.ca