git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb191bb
)
tevent: define TEVENT_NUM_SIGNALS based on SIGRTMAX
author
Stefan Metzmacher
<metze@samba.org>
Fri, 30 Nov 2012 08:39:18 +0000
(09:39 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 29 Jan 2013 21:03:18 +0000
(22:03 +0100)
On FreeBSD SIGRTMIN is 65...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
lib/tevent/tevent_signal.c
patch
|
blob
|
history
diff --git
a/lib/tevent/tevent_signal.c
b/lib/tevent/tevent_signal.c
index 9582f6e7acdcb566b80c9f396335c64fb1598ac7..db2dfb64352dd283eafc3e7cf740fe2c40670db7 100644
(file)
--- a/
lib/tevent/tevent_signal.c
+++ b/
lib/tevent/tevent_signal.c
@@
-30,7
+30,11
@@
#include "tevent_internal.h"
#include "tevent_util.h"
+#ifdef SIGRTMAX
+#define TEVENT_NUM_SIGNALS (SIGRTMAX + 1)
+#else
#define TEVENT_NUM_SIGNALS 64
+#endif
/* maximum number of SA_SIGINFO signals to hold in the queue.
NB. This *MUST* be a power of 2, in order for the ring buffer