git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ea6ceb
)
pthreadpool: We always want asserts to abort()
author
Volker Lendecke
<vl@samba.org>
Mon, 29 Aug 2016 09:35:20 +0000
(11:35 +0200)
committer
Jeremy Allison
<jra@samba.org>
Mon, 29 Aug 2016 22:13:10 +0000
(
00:13
+0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/pthreadpool/pthreadpool.c
patch
|
blob
|
history
diff --git
a/source3/lib/pthreadpool/pthreadpool.c
b/source3/lib/pthreadpool/pthreadpool.c
index fc21d43e1a4471954832c2d323bc17f7f0aea563..2e9f42c258508953c36fc996aa13896a5b7d3ad8 100644
(file)
--- a/
source3/lib/pthreadpool/pthreadpool.c
+++ b/
source3/lib/pthreadpool/pthreadpool.c
@@
-23,6
+23,11
@@
#include "system/threads.h"
#include "pthreadpool.h"
#include "lib/util/dlinklist.h"
+
+#ifdef NDEBUG
+#undef NDEBUG
+#endif
+
#include <assert.h>
struct pthreadpool_job {