[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

trap() block signal mask, esp. CHLD

Dan Janowski

2/8/2005 2:30:00 AM

Hi,

In managing many sub-processes and using trap() with SIGCHLD, there is
a re-entry problem because there is no way to have a
sigprocmask(SIG_BLOCK,...) in effect while Ruby code is running. At
least this seems to be the case.

Interestingly, Ruby internals use SIG_BLOCK for protection, I am
interested in expanding this to Ruby code. Suggestions on how to do
this, or even a patch?

Thanks,

Dan