mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Thanks to Chris Herborth, the thread primitives now have proper Py*
names in the source code (they already had those for the linker, through some smart macros; but the source still had the old, un-Py names).
This commit is contained in:
parent
14f53a7757
commit
65d5b5763c
20 changed files with 507 additions and 548 deletions
|
|
@ -109,9 +109,9 @@ static int thread_debug = 0;
|
|||
|
||||
static int initialized;
|
||||
|
||||
static void _init_thread(); /* Forward */
|
||||
static void PyThread__init_thread(); /* Forward */
|
||||
|
||||
void init_thread _P0()
|
||||
void PyThread_init_thread _P0()
|
||||
{
|
||||
#ifdef Py_DEBUG
|
||||
char *p = getenv("THREADDEBUG");
|
||||
|
|
@ -126,8 +126,8 @@ void init_thread _P0()
|
|||
if (initialized)
|
||||
return;
|
||||
initialized = 1;
|
||||
dprintf(("init_thread called\n"));
|
||||
_init_thread();
|
||||
dprintf(("PyThread_init_thread called\n"));
|
||||
PyThread__init_thread();
|
||||
}
|
||||
|
||||
#ifdef SGI_THREADS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue