From 326b71fde360b69aa445df26e2a30f16f1929436 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_sgi.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Python/thread_sgi.h') diff --git a/Python/thread_sgi.h b/Python/thread_sgi.h index 6f6334e534..40f28a0468 100644 --- a/Python/thread_sgi.h +++ b/Python/thread_sgi.h @@ -229,6 +229,11 @@ int start_new_thread _P2(func, void (*func) _P((void *)), arg, void *arg) return success < 0 ? 0 : 1; } +long get_thread_ident _P0() +{ + return getpid(); +} + static void do_exit_thread _P1(no_cleanup, int no_cleanup) { dprintf(("exit_thread called\n")); -- cgit v1.2.1