X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Flinux-os.h;h=6f1003cf8dd7270e2ebee82d64280343db588f9b;hb=bf40ae88bc289fd765a33861cc4bc0853ed483ba;hp=e930693dfce83e7cf6663f015e12e18f2bd868ba;hpb=85e1967527101d2d8a4c0f5d37857cf731690733;p=sbcl.git diff --git a/src/runtime/linux-os.h b/src/runtime/linux-os.h index e930693..6f1003c 100644 --- a/src/runtime/linux-os.h +++ b/src/runtime/linux-os.h @@ -39,5 +39,8 @@ typedef int os_vm_prot_t; #define SIG_MEMORY_FAULT SIGSEGV -#define SIG_INTERRUPT_THREAD (SIGPWR) -#define SIG_STOP_FOR_GC (SIGUSR1) +/* 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)