guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Locks and threads


From: Neil Jerram
Subject: Re: Locks and threads
Date: Wed, 25 Mar 2009 19:00:04 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Neil Jerram <address@hidden> writes:

>> Yes, it's an unrelated bug.  All of the places that raise errors (and
>> so exit non-locally) should exit the critical section first.
>
>> You're absolutely right.  I'll leave this part out, and generate a
>> separate patch for it.
>
> Here's the separate patch...

> Subject: [PATCH] Avoid throw from critical section, given invalid sigaction 
> call
>
> * libguile/scmsigs.c (scm_sigaction_for_thread): Exit critical section
>   before raising out-of-range error.
>
> * test-suite/Makefile.am (SCM_TESTS): Add signals.test.
>
> * test-suite/tests/signals.test: New file.

I've committed this now too.  (Also to 1.8.x.  I'll come back later to
look at which of all these lock fixes are needed in master.)

       Neil




reply via email to

[Prev in Thread] Current Thread [Next in Thread]