aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/lock.h
diff options
context:
space:
mode:
authorcitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-03-15 08:36:25 +0000
committercitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-03-15 08:36:25 +0000
commitecede97dc4fc7e46f288729b4655598b91bdb3ff (patch)
tree3c409ad259fc01e883695fa155597a1a6d91e00d /include/asterisk/lock.h
parent1c4a4007af71e31785d40ca0d6a371043dc8e908 (diff)
Actually commit the new #defines
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2436 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/lock.h')
-rwxr-xr-xinclude/asterisk/lock.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h
index 2b6182eba..60d5fe7b0 100755
--- 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)