Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 49b5606

Browse files
committed
Renamed thread.h to pythread.h.
1 parent c456d36 commit 49b5606

10 files changed

Lines changed: 14 additions & 10 deletions

File tree

Modules/_tkinter.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ PERFORMANCE OF THIS SOFTWARE.
5959
#include <ctype.h>
6060

6161
#ifdef WITH_THREAD
62-
#include "thread.h"
62+
#include "pythread.h"
6363
#endif
6464

6565
#ifdef MS_WINDOWS
@@ -71,6 +71,10 @@ PERFORMANCE OF THIS SOFTWARE.
7171
#include "myselect.h"
7272
#endif
7373

74+
#ifdef PYOS_OS2
75+
#include "myselect.h"
76+
#endif
77+
7478
#include <tcl.h>
7579
#include <tk.h>
7680

Modules/bsddbmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ PERFORMANCE OF THIS SOFTWARE.
4242

4343
#include "Python.h"
4444
#ifdef WITH_THREAD
45-
#include "thread.h"
45+
#include "pythread.h"
4646
#endif
4747

4848
#include <sys/types.h>

Modules/signalmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ PERFORMANCE OF THIS SOFTWARE.
9393

9494
#ifdef WITH_THREAD
9595
#include <sys/types.h> /* For pid_t */
96-
#include "thread.h"
96+
#include "pythread.h"
9797
static long main_thread;
9898
static pid_t main_pid;
9999
#endif

Modules/socketmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Socket methods:
8787

8888
#include "Python.h"
8989
#if defined(WITH_THREAD) && !defined(HAVE_GETHOSTBYNAME_R) && !defined(MS_WINDOWS)
90-
#include "thread.h"
90+
#include "pythread.h"
9191
#endif
9292

9393
#ifdef HAVE_UNISTD_H

Modules/stdwinmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ PERFORMANCE OF THIS SOFTWARE.
8585

8686
#ifdef WITH_THREAD
8787

88-
#include "thread.h"
88+
#include "pythread.h"
8989

9090
static type_lock StdwinLock; /* Lock held when interpreter not locked */
9191

Modules/threadmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ PERFORMANCE OF THIS SOFTWARE.
4040
#error "Then run `make clean' followed by `make'."
4141
#endif
4242

43-
#include "thread.h"
43+
#include "pythread.h"
4444

4545
static PyObject *ThreadError;
4646

Python/ceval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ static long dxp[256];
109109
#ifdef WITH_THREAD
110110

111111
#include <errno.h>
112-
#include "thread.h"
112+
#include "pythread.h"
113113

114114
extern int _PyThread_Started; /* Flag for Py_Exit */
115115

Python/import.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ _PyImport_Fini()
119119

120120
#ifdef WITH_THREAD
121121

122-
#include "thread.h"
122+
#include "pythread.h"
123123

124124
static type_lock import_lock = 0;
125125
static long import_lock_thread = -1;

Python/pythonrun.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,7 @@ Py_FatalError(msg)
10311031
/* Clean up and exit */
10321032

10331033
#ifdef WITH_THREAD
1034-
#include "thread.h"
1034+
#include "pythread.h"
10351035
int _PyThread_Started = 0; /* Set by threadmodule.c and maybe others */
10361036
#endif
10371037

Python/thread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ extern char *getenv();
5959
#endif
6060
#endif
6161

62-
#include "thread.h"
62+
#include "pythread.h"
6363

6464
#ifdef __ksr__
6565
#define _POSIX_THREADS

0 commit comments

Comments
 (0)