From cf1474b73ad3e4085af220f3845b75b201974d38 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 8 Oct 1996 14:17:53 +0000 Subject: Sjoerd's thread changes (including down_sema typo fix). Note: waitflag not supported on NT. --- Python/thread_foobar.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Python/thread_foobar.h') diff --git a/Python/thread_foobar.h b/Python/thread_foobar.h index 772f26b6f9..0bf58f48ab 100644 --- a/Python/thread_foobar.h +++ b/Python/thread_foobar.h @@ -142,10 +142,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) -- cgit v1.2.1