Mercurial > cpython-lru_cache-weakref
diff Python/thread_foobar.h @ 1651:7e5f97bab1e6 legacy-trunk
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
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Mon, 23 May 1994 12:43:41 +0000 |
| parents | a9dd2e1ea5c9 |
| children | d0d0a69b5ca3 |
line wrap: on
line diff
--- a/Python/thread_foobar.h Mon May 23 12:37:57 1994 +0000 +++ b/Python/thread_foobar.h Mon May 23 12:43:41 1994 +0000 @@ -43,6 +43,12 @@ 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"));
