20.01.2011, 14:55, "Juan Jose Garcia-Ripoll" 
<juanjose.garciarip...@googlemail.com>:
> On Thu, Jan 20, 2011 at 12:31 PM, Anton Vodonosov <avodono...@yandex.ru> 
> wrote:
>> It's a good idea, thanks. I will only need to think about race conditions, 
>> like if GC starts after the sigwait returns, but before we called
>> GC_register_my_thread. Or this code doesn't allocate any heap memory and 
>> should not be protected by GC?
>
> Code in the library is itself protected, so one should not worry about it.

You mean the libc code?

I worry about this code:

        if (status == 0) {
            if (interrupt_signal == signo)
                goto RETURN;
            signal_code = call_handler(lisp_signal_handler, signo,
                           NULL, NULL);
            if (!Null(signal_code)) {
                mp_process_run_function(3, @'si::handle-signal',
                            @'si::handle-signal',
                            signal_code);
            }
        }

Can we run it in parallel with GC?

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to