X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Falloc.c;h=eeb827f1a8b8aeec2527dd9a813a9d955b2a8dfa;hb=a2b7a6a58e894c02cff583d2d7d1b971a53d7c2d;hp=b84df303243ff35ea965ed2dd18b09ca374b6a40;hpb=cf507f95509a855a752b6f1771aa06877b8a3b30;p=sbcl.git diff --git a/src/runtime/alloc.c b/src/runtime/alloc.c index b84df30..eeb827f 100644 --- a/src/runtime/alloc.c +++ b/src/runtime/alloc.c @@ -40,10 +40,9 @@ pa_alloc(int bytes, int page_type_flag) lispobj *result; struct thread *th = arch_os_get_current_thread(); - /* SIG_STOP_FOR_GC needs to be enabled before we can call lisp: - * otherwise two threads racing here may deadlock: the other will - * wait on the GC lock, and the other cannot stop the first - * one... */ + /* SIG_STOP_FOR_GC must be unblocked: else two threads racing here + * may deadlock: one will wait on the GC lock, and the other + * cannot stop the first one... */ check_gc_signals_unblocked_or_lose(0); /* FIXME: OOAO violation: see arch_pseudo_* */