Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e8583d commit a635184Copy full SHA for a635184
2 files changed
Include/pythread.h
@@ -34,7 +34,9 @@ void release_lock Py_PROTO((type_lock));
34
35
type_sema allocate_sema Py_PROTO((int));
36
void free_sema Py_PROTO((type_sema));
37
-void down_sema Py_PROTO((type_sema));
+int down_sema Py_PROTO((type_sema, int));
38
+#define WAIT_SEMA 1
39
+#define NOWAIT_SEMA 0
40
void up_sema Py_PROTO((type_sema));
41
42
#ifndef NO_EXIT_PROG
Include/thread.h
0 commit comments