Mercurial > cpython-lru_cache-weakref
diff Python/thread_cthread.h @ 4371:c277ee8c669c legacy-trunk
Sjoerd's thread changes (including down_sema typo fix).
Note: waitflag not supported on NT.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 08 Oct 1996 14:17:53 +0000 |
| parents | 5aab3f668e84 |
| children | 65d2d8e67da3 |
line wrap: on
line diff
--- a/Python/thread_cthread.h Tue Oct 08 14:15:25 1996 +0000 +++ b/Python/thread_cthread.h Tue Oct 08 14:17:53 1996 +0000 @@ -183,10 +183,11 @@ 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)
