X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fthread.c;h=6771f81a01897b9a513b5985d32b27adc01b20f5;hb=9603675940cce3bcac93b354dca62d20c991cbce;hp=377f6b90e03e13f157fbd249fcced746e034f983;hpb=158f220d2e6b44e48806480d6498466b9fc7eb62;p=sbcl.git diff --git a/src/runtime/thread.c b/src/runtime/thread.c index 377f6b9..6771f81 100644 --- a/src/runtime/thread.c +++ b/src/runtime/thread.c @@ -279,7 +279,7 @@ new_thread_trampoline(struct thread *th) lock_ret = pthread_mutex_lock(&all_threads_lock); gc_assert(lock_ret == 0); - gc_alloc_update_page_tables(0, &th->alloc_region); + gc_alloc_update_page_tables(BOXED_PAGE_FLAG, &th->alloc_region); unlink_thread(th); pthread_mutex_unlock(&all_threads_lock); gc_assert(lock_ret == 0); @@ -436,6 +436,7 @@ create_thread_struct(lispobj initial_function) { bind_variable(INTERRUPTS_ENABLED,T,th); bind_variable(ALLOW_WITH_INTERRUPTS,T,th); bind_variable(GC_PENDING,NIL,th); + bind_variable(ALLOC_SIGNAL,NIL,th); #ifdef LISP_FEATURE_SB_THREAD bind_variable(STOP_FOR_GC_PENDING,NIL,th); #endif