Re: [Ecls-list] Making an external signal handler play nice with embedded ECL

2011-02-26 Thread Juan Jose Garcia-Ripoll
On Sat, Feb 26, 2011 at 3:34 AM, Nils Bruin nbr...@cecm.sfu.ca wrote: I did not quite understand the mprotect trick first but I think I do now. Let me verify: - If the ECL signal handler finds that the interrupted code is not safe, then the handler stores the signal information and marks env

[Ecls-list] Making an external signal handler play nice with embedded ECL

2011-02-22 Thread Nils Bruin
The ECL documentation contains some information about how to set up signal handling with embedded ECL, but from what I understand the options are 1. Disable signals while ECL code is running 2. Let ECL install its signal handlers (which, in multithreaded mode, means that ECL will run a