Fwd: non blocking System.system?

r2yang at engmail.uwaterloo.ca r2yang at engmail.uwaterloo.ca
Wed Oct 8 18:07:30 EDT 2003


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 at repetae.net> -----
    Date: Wed, 8 Oct 2003 14:02:46 -0700
    From: John Meacham <john at repetae.net>
Reply-To: John Meacham <john at repetae.net>
 Subject: non blocking System.system?
      To: haskell at 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 at foo.net
---------------------------------------------------------------------------
_______________________________________________
Haskell mailing list
Haskell at haskell.org
http://www.haskell.org/mailman/listinfo/haskell

----- End forwarded message -----




----------------------------------------
This mail sent through www.mywaterloo.ca


More information about the Haskell mailing list