Kaydet (Commit) 49b56069 authored tarafından Guido van Rossum's avatar Guido van Rossum

Renamed thread.h to pythread.h.

üst c456d36b
......@@ -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;
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment