Juan Jose Garcia-Ripoll | 1 Jun 2009 16:41

Re: [RFC PATCH] Fix GC for threads + mprotect signal handling.

I have committed my version of the fix with these changes:

* alloc_process() now takes the initial bindings as argument, removing
the need for initialize_process_bindings() and ensuring that the
bindings are copied from the parent thread.

* ecl_import_current_thread() now adds the process to the list in
cl_core, registering the current thread handle and allowing multiple
calls for the same thread.

* Changed the order of libraries to ensure that -lpthread appears
after -lgc Otherwise builds break in FreeBSD

On Mon, Jun 1, 2009 at 4:09 PM, Juan Jose Garcia-Ripoll
<juanjose.garciaripoll@...> wrote:
> On Mon, Jun 1, 2009 at 4:12 PM, Alexander Gavrilov
<angavrilov@...> wrote:
>> 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.
>
> Good point
>
> Juanjo
>
> --
> Instituto de FĂ­sica Fundamental, CSIC
> c/ Serrano, 113b, Madrid 28006 (Spain)
> http://juanjose.garciaripoll.googlepages.com
(Continue reading)


Gmane