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:
7a0cf3b
)
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, 4 Dec 2012 07:16:16 +0000
(08:16 +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 77ef7b0599a532af4cfa3786d6fd4c3403c8d68b..6d746fc7eccc47dc8c304603f52a8ef9b748f0c6 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