mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-24 05:21:20 -08:00
threading: lock signal_queue_spinlock in queue_signal with the right thread
This commit is contained in:
parent
34ca2a2f38
commit
3946e2031f
1 changed files with 1 additions and 1 deletions
|
|
@ -375,7 +375,7 @@ handle_all_queued(cl_env_ptr env)
|
|||
static void
|
||||
queue_signal(cl_env_ptr env, cl_object code, int allocate)
|
||||
{
|
||||
ECL_WITH_SPINLOCK_BEGIN(env, &env->interrupt_struct->signal_queue_spinlock) {
|
||||
ECL_WITH_SPINLOCK_BEGIN(ecl_process_env(), &env->interrupt_struct->signal_queue_spinlock) {
|
||||
cl_object record;
|
||||
if (allocate) {
|
||||
record = ecl_list1(ECL_NIL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue