From e944da8916e053a6a1deda8ce3fa61304d68f872 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 23 May 1994 12:43:41 +0000 Subject: ceval.c: dict of local mapping is now a tuple compile.c: lists and dictionary in code objects become tuples import.c: bump MAGIC thread*.[ch]: added thread_ident() function version.c: added '++' to version number and bumped date --- Python/thread_foobar.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Python/thread_foobar.h') diff --git a/Python/thread_foobar.h b/Python/thread_foobar.h index 492096aa68..4b767b1e95 100644 --- a/Python/thread_foobar.h +++ b/Python/thread_foobar.h @@ -43,6 +43,12 @@ int start_new_thread _P2(func, void (*func) _P((void *)), arg, void *arg) return success < 0 ? 0 : 1; } +long get_thread_ident _P0() +{ + if (!initialized) + init_thread(); +} + static void do_exit_thread _P1(no_cleanup, int no_cleanup) { dprintf(("exit_thread called\n")); -- cgit v1.2.1