summaryrefslogtreecommitdiff
path: root/Python/thread_cthread.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-10-08 14:17:53 +0000
committerGuido van Rossum <guido@python.org>1996-10-08 14:17:53 +0000
commit7a0232ab140edb21ae16ee49357e94e5aa80a647 (patch)
treeffa7dd2496674f08f1b9cf2e7dcc332bd524897f /Python/thread_cthread.h
parentfd9d95648aa55e5ef7b5c240176541317052cac8 (diff)
downloadcpython-7a0232ab140edb21ae16ee49357e94e5aa80a647.tar.gz
Sjoerd's thread changes (including down_sema typo fix).
Note: waitflag not supported on NT.
Diffstat (limited to 'Python/thread_cthread.h')
-rw-r--r--Python/thread_cthread.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Python/thread_cthread.h b/Python/thread_cthread.h
index 79bcc0f40d..1e731ac5c0 100644
--- a/Python/thread_cthread.h
+++ b/Python/thread_cthread.h
@@ -183,10 +183,11 @@ void free_sema _P1(sema, type_sema sema)
dprintf(("free_sema(%lx) called\n", (long) sema));
}
-void down_sema _P1(sema, type_sema sema)
+int down_sema _P2(sema, type_sema sema, waitflag, int waitflag)
{
- dprintf(("down_sema(%lx) called\n", (long) sema));
+ dprintf(("down_sema(%lx, %d) called\n", (long) sema, waitflag));
dprintf(("down_sema(%lx) return\n", (long) sema));
+ return -1;
}
void up_sema _P1(sema, type_sema sema)