diff options
author | Guido van Rossum <guido@python.org> | 1994-05-23 12:43:41 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1994-05-23 12:43:41 +0000 |
commit | 326b71fde360b69aa445df26e2a30f16f1929436 (patch) | |
tree | 53fe851c26e5b568d6d445d4fa6ceca48da1c882 /Python/thread_solaris.h | |
parent | cf0f6c402d0f92a062d068cbe898ab6f5d56acb6 (diff) | |
download | cpython-326b71fde360b69aa445df26e2a30f16f1929436.tar.gz |
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
Diffstat (limited to 'Python/thread_solaris.h')
-rw-r--r-- | Python/thread_solaris.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Python/thread_solaris.h b/Python/thread_solaris.h index 08cf6dd051..8bbbeb09da 100644 --- a/Python/thread_solaris.h +++ b/Python/thread_solaris.h @@ -76,6 +76,13 @@ 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(); + return thr_self(); +} + static void do_exit_thread _P1(no_cleanup, int no_cleanup) { dprintf(("exit_thread called\n")); |