mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +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
|
@ -59,7 +59,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|||
#include <ctype.h>
|
||||
|
||||
#ifdef WITH_THREAD
|
||||
#include "thread.h"
|
||||
#include "pythread.h"
|
||||
#endif
|
||||
|
||||
#ifdef MS_WINDOWS
|
||||
|
@ -71,6 +71,10 @@ PERFORMANCE OF THIS SOFTWARE.
|
|||
#include "myselect.h"
|
||||
#endif
|
||||
|
||||
#ifdef PYOS_OS2
|
||||
#include "myselect.h"
|
||||
#endif
|
||||
|
||||
#include <tcl.h>
|
||||
#include <tk.h>
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|||
|
||||
#include "Python.h"
|
||||
#ifdef WITH_THREAD
|
||||
#include "thread.h"
|
||||
#include "pythread.h"
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
|
|
|
@ -93,7 +93,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|||
|
||||
#ifdef WITH_THREAD
|
||||
#include <sys/types.h> /* For pid_t */
|
||||
#include "thread.h"
|
||||
#include "pythread.h"
|
||||
static long main_thread;
|
||||
static pid_t main_pid;
|
||||
#endif
|
||||
|
|
|
@ -87,7 +87,7 @@ Socket methods:
|
|||
|
||||
#include "Python.h"
|
||||
#if defined(WITH_THREAD) && !defined(HAVE_GETHOSTBYNAME_R) && !defined(MS_WINDOWS)
|
||||
#include "thread.h"
|
||||
#include "pythread.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
|
|
|
@ -85,7 +85,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|||
|
||||
#ifdef WITH_THREAD
|
||||
|
||||
#include "thread.h"
|
||||
#include "pythread.h"
|
||||
|
||||
static type_lock StdwinLock; /* Lock held when interpreter not locked */
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|||
#error "Then run `make clean' followed by `make'."
|
||||
#endif
|
||||
|
||||
#include "thread.h"
|
||||
#include "pythread.h"
|
||||
|
||||
static PyObject *ThreadError;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue