mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Renamed thread.h to pythread.h.
This commit is contained in:
parent
c456d36bde
commit
49b560698b
10 changed files with 14 additions and 10 deletions
|
@ -109,7 +109,7 @@ static long dxp[256];
|
|||
#ifdef WITH_THREAD
|
||||
|
||||
#include <errno.h>
|
||||
#include "thread.h"
|
||||
#include "pythread.h"
|
||||
|
||||
extern int _PyThread_Started; /* Flag for Py_Exit */
|
||||
|
||||
|
|
|
@ -119,7 +119,7 @@ _PyImport_Fini()
|
|||
|
||||
#ifdef WITH_THREAD
|
||||
|
||||
#include "thread.h"
|
||||
#include "pythread.h"
|
||||
|
||||
static type_lock import_lock = 0;
|
||||
static long import_lock_thread = -1;
|
||||
|
|
|
@ -1031,7 +1031,7 @@ Py_FatalError(msg)
|
|||
/* Clean up and exit */
|
||||
|
||||
#ifdef WITH_THREAD
|
||||
#include "thread.h"
|
||||
#include "pythread.h"
|
||||
int _PyThread_Started = 0; /* Set by threadmodule.c and maybe others */
|
||||
#endif
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ extern char *getenv();
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#include "thread.h"
|
||||
#include "pythread.h"
|
||||
|
||||
#ifdef __ksr__
|
||||
#define _POSIX_THREADS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue