summaryrefslogtreecommitdiffstats
path: root/Include/pythread.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/pythread.h')
-rw-r--r--Include/pythread.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Include/pythread.h b/Include/pythread.h
index 3a04a8b..965e0f8 100644
--- a/Include/pythread.h
+++ b/Include/pythread.h
@@ -34,7 +34,9 @@ void release_lock Py_PROTO((type_lock));
type_sema allocate_sema Py_PROTO((int));
void free_sema Py_PROTO((type_sema));
-void down_sema Py_PROTO((type_sema));
+int down_sema Py_PROTO((type_sema, int));
+#define WAIT_SEMA 1
+#define NOWAIT_SEMA 0
void up_sema Py_PROTO((type_sema));
#ifndef NO_EXIT_PROG