Neil Jerram <n...@ossau.uklinux.net> writes:

> * libguile/async.c (scm_async_click): Don't leave Guile mode when
>   locking async_mutex.  We don't need to, because none of the code
>   that has async_mutex locked can block, and doing so may lead to lock
>   ordering problems between async_mutex and a thread's heap_mutex.

[...]

> -  scm_i_scm_pthread_mutex_lock (&async_mutex);
> +  scm_i_pthread_mutex_lock (&async_mutex);

This one was tricky.  I took me a fair amount of M-. to grasp the
difference between these two variants.

Thanks!

Ludo'.



Reply via email to