projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e90480
)
Actually commit the new #defines
author
James Golovich
<james@gnuinter.net>
Mon, 15 Mar 2004 08:36:25 +0000
(08:36 +0000)
committer
James Golovich
<james@gnuinter.net>
Mon, 15 Mar 2004 08:36:25 +0000
(08:36 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2436
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
include/asterisk/lock.h
patch
|
blob
|
history
diff --git
a/include/asterisk/lock.h
b/include/asterisk/lock.h
index
2b6182e
..
60d5fe7
100755
(executable)
--- a/
include/asterisk/lock.h
+++ b/
include/asterisk/lock.h
@@
-16,6
+16,9
@@
#include <pthread.h>
+#define AST_PTHREADT_NULL (pthread_t) -1
+#define AST_PTHREADT_STOP (pthread_t) -2
+
#ifdef DEBUG_THREADS
#ifdef THREAD_CRASH
#define DO_THREAD_CRASH do { *((int *)(0)) = 1; } while(0)