diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-06-22 13:02:40 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-07-03 15:56:33 +1000 |
commit | 6bf356ef2831baeccd7a650ed3fde0831e33c6c0 (patch) | |
tree | 3148f6ef0df6da8ea074ba46c7b8d80f33e20fd2 /include/os.h | |
parent | 9f1edced9abc066f0ba47672d006fe50fb206371 (diff) |
os: add OsBlockSIGIO and OsReleaseSIGIO
Let the dix be in charge of changing the sigprocmask so we only have one
entity that changes it.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'include/os.h')
-rw-r--r-- | include/os.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/os.h b/include/os.h index 276eb5213..8540b8265 100644 --- a/include/os.h +++ b/include/os.h @@ -333,6 +333,12 @@ OsBlockSignals(void); extern _X_EXPORT void OsReleaseSignals(void); +extern _X_EXPORT int +OsBlockSIGIO(void); + +extern _X_EXPORT void +OsReleaseSIGIO(void); + extern _X_EXPORT void OsAbort(void) _X_NORETURN; |