diff options
author | madhum <madhum@13f79535-47bb-0310-9956-ffa450edef68> | 2004-04-21 21:45:38 +0000 |
---|---|---|
committer | madhum <madhum@13f79535-47bb-0310-9956-ffa450edef68> | 2004-04-21 21:45:38 +0000 |
commit | c0d21f2cc2964c76df36305771a58d639df601f7 (patch) | |
tree | 907def3874058b10600c4d6081f06d5c549d0c50 /threadproc/win32 | |
parent | b49e87aa1c5bc6ff7e4768de5e41347445e7f719 (diff) | |
download | libapr-c0d21f2cc2964c76df36305771a58d639df601f7.tar.gz |
Added two new functions apr_signal_block and apr_signal_unblock to
block/unblock only certain signals.
The functions are currently enabled for Unix (beos, os2). It's a null function
for win32 and netware (I really don't know if they even require such a feature)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65076 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc/win32')
-rw-r--r-- | threadproc/win32/signals.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/threadproc/win32/signals.c b/threadproc/win32/signals.c index 6fab4fabf..14cd9232a 100644 --- a/threadproc/win32/signals.c +++ b/threadproc/win32/signals.c @@ -53,3 +53,13 @@ const char *apr_signal_description_get(int signum) { return "unknown signal (not supported)"; } + +APR_DECLARE(apr_status_t) apr_signal_block(int signum) +{ + return APR_SUCCESS; +} + +APR_DECLARE(apr_status_t) apr_signal_unblock(int signum) +{ + return APR_SUCCESS; +} |