From: Guido van Rossum Date: Thu, 1 Oct 1998 20:42:43 +0000 (+0000) Subject: Renamed thread.h to pythread.h. X-Git-Tag: v1.5.2a2~190 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=49b560698b0bba848c4f8325803a26a4477fb12d;p=python Renamed thread.h to pythread.h. --- diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index f619032ea8..e068872192 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -59,7 +59,7 @@ PERFORMANCE OF THIS SOFTWARE. #include #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 #include diff --git a/Modules/bsddbmodule.c b/Modules/bsddbmodule.c index 2f0d05de50..ca7fa5f0d6 100644 --- a/Modules/bsddbmodule.c +++ b/Modules/bsddbmodule.c @@ -42,7 +42,7 @@ PERFORMANCE OF THIS SOFTWARE. #include "Python.h" #ifdef WITH_THREAD -#include "thread.h" +#include "pythread.h" #endif #include diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c index b632efd1b3..8795463cef 100644 --- a/Modules/signalmodule.c +++ b/Modules/signalmodule.c @@ -93,7 +93,7 @@ PERFORMANCE OF THIS SOFTWARE. #ifdef WITH_THREAD #include /* For pid_t */ -#include "thread.h" +#include "pythread.h" static long main_thread; static pid_t main_pid; #endif diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index f9b4fcdd39..e195389041 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -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 diff --git a/Modules/stdwinmodule.c b/Modules/stdwinmodule.c index 27ffdb2c75..c24b3ef64d 100644 --- a/Modules/stdwinmodule.c +++ b/Modules/stdwinmodule.c @@ -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 */ diff --git a/Modules/threadmodule.c b/Modules/threadmodule.c index 52d2eb2c9c..3f32af2cfe 100644 --- a/Modules/threadmodule.c +++ b/Modules/threadmodule.c @@ -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; diff --git a/Python/ceval.c b/Python/ceval.c index 0178f84498..b004c79640 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -109,7 +109,7 @@ static long dxp[256]; #ifdef WITH_THREAD #include -#include "thread.h" +#include "pythread.h" extern int _PyThread_Started; /* Flag for Py_Exit */ diff --git a/Python/import.c b/Python/import.c index c8bbc29a45..32dc319391 100644 --- a/Python/import.c +++ b/Python/import.c @@ -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; diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 2be073bda0..7cff848422 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -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 diff --git a/Python/thread.c b/Python/thread.c index 9da701dc71..ff5aefe68b 100644 --- a/Python/thread.c +++ b/Python/thread.c @@ -59,7 +59,7 @@ extern char *getenv(); #endif #endif -#include "thread.h" +#include "pythread.h" #ifdef __ksr__ #define _POSIX_THREADS