X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fruntime%2Flinux-os.h;h=6f1003cf8dd7270e2ebee82d64280343db588f9b;hb=f0cb0cf9c0fe1b6fce5d10dbd34a0b7b249c4ae8;hp=cfeaed4a11ace4e0307b28f696f020d680db889f;hpb=411c3cae7ab69dc023912d87d891e75d9aa083b4;p=sbcl.git diff --git a/src/runtime/linux-os.h b/src/runtime/linux-os.h index cfeaed4..6f1003c 100644 --- a/src/runtime/linux-os.h +++ b/src/runtime/linux-os.h @@ -39,6 +39,8 @@ typedef int os_vm_prot_t; #define SIG_MEMORY_FAULT SIGSEGV -#define SIG_INTERRUPT_THREAD (SIGRTMIN) -#define SIG_STOP_FOR_GC (SIGRTMIN+1) - +/* Note that this must be higher than the highest numbered + * synchronously generated signal that we handle (that is SIGSEGV), + * due to Linux signal handling pecularities. See thread "Signal + * delivery order" from 2009-03-14 on kernel-devel@vger.kernel.org. */ +#define SIG_STOP_FOR_GC (SIGUSR2)