Invert test (the mask contains BLOCKED signals)
authorbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 18 Feb 2008 16:03:53 +0000 (16:03 +0000)
committerbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 18 Feb 2008 16:03:53 +0000 (16:03 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1136 38d2e660-2303-0410-9eaa-f027e97ec537

cfg/os.h

index e1535dd49410bc04f7d21ef7f6c60889219eff20..924daadea7f9c79e6e253b6d7fb00207186eebaf 100644 (file)
--- a/cfg/os.h
+++ b/cfg/os.h
        ({ \
                sigset_t sigs; \
                sigprocmask(SIG_SETMASK, NULL, &sigs); \
-               sigismember(&sigs, SIGALRM) ? true : false; \
+               sigismember(&sigs, SIGALRM) ? false : true; \
         })
 
 #else