[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/native-comp 68fad7a: Do not block SIGIO in platforms that don't
From: |
Andrea Corallo |
Subject: |
feature/native-comp 68fad7a: Do not block SIGIO in platforms that don't have it. |
Date: |
Wed, 20 May 2020 13:11:25 -0400 (EDT) |
branch: feature/native-comp
commit 68fad7a8fc98d41284c4054dd7b53fbb0d990cba
Author: Nicolás Bértolo <address@hidden>
Commit: Andrea Corallo <address@hidden>
Do not block SIGIO in platforms that don't have it.
* src/comp.c (comp--compile-ctxt-to-file): Add a preprocessor check to
avoid blocking SIGIO in platforms that don't have it.
Signed-off-by: Andrea Corallo <address@hidden>
---
src/comp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/comp.c b/src/comp.c
index c9426d1..87b86dd 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -3364,7 +3364,9 @@ DEFUN ("comp--compile-ctxt-to-file",
Fcomp__compile_ctxt_to_file,
sigemptyset (&blocked);
sigaddset (&blocked, SIGALRM);
sigaddset (&blocked, SIGINT);
+#ifdef USABLE_SIGIO
sigaddset (&blocked, SIGIO);
+#endif
pthread_sigmask (SIG_BLOCK, &blocked, &oldset);
}
emit_ctxt_code ();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- feature/native-comp 68fad7a: Do not block SIGIO in platforms that don't have it.,
Andrea Corallo <=