Renamed thread.h to pythread.h.

This commit is contained in:
Guido van Rossum 1998-10-01 20:42:43 +00:00
parent c456d36bde
commit 49b560698b
10 changed files with 14 additions and 10 deletions

View file

@ -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>

View file

@ -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>

View file

@ -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

View file

@ -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

View file

@ -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 */

View file

@ -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;

View file

@ -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 */

View file

@ -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;

View file

@ -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

View file

@ -59,7 +59,7 @@ extern char *getenv();
#endif
#endif
#include "thread.h"
#include "pythread.h"
#ifdef __ksr__
#define _POSIX_THREADS