[Ecls-list] [RFC PATCH] Fix GC for threads + mprotect signal handling.

Alexander Gavrilov angavrilov at gmail.com
Mon Jun 1 14:12:19 UTC 2009


> I would indeed suggest a different patch, attached to this email,
> which does this:
> 
> + Master creates process object
> + Master enables process
>     - Thread is started
>     - Thread blocks temporarily and add process to cl_core.processes
>     - Environment is created and added to the process object (now it
> can be traversed)
>     - Environment is initialized
>     - Code is run
>     - Environment is destroyed
>     - Process is marked as inactive and removed from cl_core.processes
> 

Isn't initialize_process_bindings supposed to copy the bindings of
the current thread at the time of make-process? If it is, it probably
should be left where it was, just modified to assign into initial_bindings
instead of the environment.

Alexander




More information about the ecl-devel mailing list