X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=cfg%2Fos.h;h=636a3fa8b37ea94f7a679d8f717f964bdb8ef358;hb=bbc33efb70a0062b36cc415452922e7ba69c748f;hp=041650400fe91b0f3e7b55bbdf2c504bc774032d;hpb=2039edbef30cfdf57f9b8b50d622ce3f8be03d8e;p=bertos.git diff --git a/cfg/os.h b/cfg/os.h index 04165040..636a3fa8 100755 --- a/cfg/os.h +++ b/cfg/os.h @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* Revision 1.4 2005/11/27 03:07:13 bernie + *#* IRQ_SAVE_DISABLE(): Really block signals. + *#* *#* Revision 1.3 2005/11/27 03:02:40 bernie *#* Add POSIX emulation for IRQ_* macros; Add Qt support. *#* @@ -74,7 +77,7 @@ do { \ sigset_t sigs; \ sigemptyset(&sigs); \ - sigprocmask(SIG_SETMASK, &sigs, &old_sigs); \ + sigprocmask(SIG_BLOCK, &sigs, &old_sigs); \ } while (0) #define IRQ_RESTORE(old_sigs) \