mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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
This commit is contained in:
parent
34162a123a
commit
e944da8916
6 changed files with 43 additions and 6 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue