Add :application-type parameter for save-lisp-and-die on Windows.
[sbcl.git] / src / runtime / linux-os.h
index cfeaed4..6f1003c 100644 (file)
@@ -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)