]> Kevux Git Server - fll/commitdiff
Bugfix: Use BLOCK after UNBLOCK rather than UNBLOCK again.
authorKevin Day <thekevinday@gmail.com>
Sun, 31 Oct 2021 13:19:33 +0000 (08:19 -0500)
committerKevin Day <thekevinday@gmail.com>
Sun, 31 Oct 2021 13:19:33 +0000 (08:19 -0500)
level_3/controller/c/private-common.c

index 832cf558543a22928e4d5336931590e7d7f3b2ef..3641edb88c9b30370c0e2f6aea814410bf02146c 100644 (file)
@@ -955,7 +955,7 @@ extern "C" {
     const int result = nanosleep(&time, 0);
 
     if (setting->interruptible) {
-      f_signal_mask(SIG_UNBLOCK, &main->signal.set, 0);
+      f_signal_mask(SIG_BLOCK, &main->signal.set, 0);
     }
 
     return result;