aboutsummaryrefslogtreecommitdiff
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
commitcf1474b73ad3e4085af220f3845b75b201974d38 (patch)
tree3f0376625f60a95747ce8e83307a3b15cf077f89 /Python/thread_lwp.h
parentRemove RCS crud... Sigh... (diff)
downloadcpython-cf1474b73ad3e4085af220f3845b75b201974d38.tar.gz
cpython-cf1474b73ad3e4085af220f3845b75b201974d38.tar.bz2
cpython-cf1474b73ad3e4085af220f3845b75b201974d38.zip
Sjoerd's thread changes (including down_sema typo fix).
Note: waitflag not supported on NT.
Diffstat (limited to 'Python/thread_lwp.h')
-rw-r--r--Python/thread_lwp.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Python/thread_lwp.h b/Python/thread_lwp.h
index a4e943f008f..15413345031 100644
--- a/Python/thread_lwp.h
+++ b/Python/thread_lwp.h
@@ -190,10 +190,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)