Commit cc782a7e by Richard Kenner

Now compiles as a separate source file, so include appropriate

Objective-C headers.

From-SVN: r12217
parent 7228791e
...@@ -25,6 +25,8 @@ Boston, MA 02111-1307, USA. */ ...@@ -25,6 +25,8 @@ Boston, MA 02111-1307, USA. */
covered by the GNU General Public License. */ covered by the GNU General Public License. */
#include <pthread.h> #include <pthread.h>
#include <objc/thr.h>
#include "runtime.h"
/******** /********
* This structure represents a single mutual exclusion lock. Lock semantics * This structure represents a single mutual exclusion lock. Lock semantics
......
...@@ -29,6 +29,8 @@ Boston, MA 02111-1307, USA. */ ...@@ -29,6 +29,8 @@ Boston, MA 02111-1307, USA. */
#include <sys/sysmp.h> #include <sys/sysmp.h>
#include <sys/prctl.h> #include <sys/prctl.h>
#include <ulocks.h> #include <ulocks.h>
#include <objc/thr.h>
#include "runtime.h"
/******** /********
* This structure represents a single mutual exclusion lock. Lock semantics * This structure represents a single mutual exclusion lock. Lock semantics
......
/* GNU Objective C Runtime Thread Implementation /* GNU Objective C Runtime Thread Implementation
Copyright (C) 1996 Free Software Foundation, Inc. Copyright (C) 1996 Free Software Foundation, Inc.
Contributed by Galen C. Hunt (gchunt@cs.rochester.edu)
Author: Galen C. Hunt (gchunt@cs.rochester.edu) Modified for Mach threads by Bill Bumgarner <bbum@friday.com>
Modified for Mach threads by: Bill Bumgarner <bbum@friday.com>
This file is part of GNU CC. This file is part of GNU CC.
...@@ -28,6 +27,8 @@ Boston, MA 02111-1307, USA. */ ...@@ -28,6 +27,8 @@ Boston, MA 02111-1307, USA. */
#include <mach/mach.h> #include <mach/mach.h>
#include <mach/cthreads.h> #include <mach/cthreads.h>
#include <objc/thr.h>
#include "runtime.h"
/******** /********
* This structure represents a single mutual exclusion lock. Lock semantics * This structure represents a single mutual exclusion lock. Lock semantics
......
/* GNU Objective C Runtime Thread Interface - OS/2 emx Implementation /* GNU Objective C Runtime Thread Interface - OS/2 emx Implementation
Copyright (C) 1996 Free Software Foundation, Inc. Copyright (C) 1996 Free Software Foundation, Inc.
Contributed by Thomas Baier (baier@ci.tuwien.ac.at)
Author: Thomas Baier (baier@ci.tuwien.ac.at)
This file is included into thread.c
This file is part of GNU CC. This file is part of GNU CC.
...@@ -27,6 +24,9 @@ Boston, MA 02111-1307, USA. */ ...@@ -27,6 +24,9 @@ Boston, MA 02111-1307, USA. */
however invalidate any other reasons why the executable file might be however invalidate any other reasons why the executable file might be
covered by the GNU General Public License. */ covered by the GNU General Public License. */
#include <objc/thr.h>
#include "runtime.h"
#define INCL_DOSSEMAPHORES #define INCL_DOSSEMAPHORES
#define INCL_DOSPROCESS #define INCL_DOSPROCESS
......
/* GNU Objective C Runtime Thread Interface for POSIX compliant threads /* GNU Objective C Runtime Thread Interface for POSIX compliant threads
Copyright (C) 1996 Free Software Foundation, Inc. Copyright (C) 1996 Free Software Foundation, Inc.
Contributed by Galen C. Hunt (gchunt@cs.rochester.edu)
Author: Galen C. Hunt (gchunt@cs.rochester.edu) Modified for Linux/Pthreads by Kai-Uwe Sattler (kus@iti.cs.uni-magdeburg.de)
Modified for Linux & Pthreads: Kai-Uwe Sattler (kus@iti.cs.uni-magdeburg.de)
This file is part of GNU CC. This file is part of GNU CC.
...@@ -26,6 +25,8 @@ Boston, MA 02111-1307, USA. */ ...@@ -26,6 +25,8 @@ Boston, MA 02111-1307, USA. */
however invalidate any other reasons why the executable file might be however invalidate any other reasons why the executable file might be
covered by the GNU General Public License. */ covered by the GNU General Public License. */
#include <objc/thr.h>
#include "runtime.h"
#include <pthread.h> #include <pthread.h>
/******** /********
......
...@@ -24,6 +24,9 @@ Boston, MA 02111-1307, USA. */ ...@@ -24,6 +24,9 @@ Boston, MA 02111-1307, USA. */
however invalidate any other reasons why the executable file might be however invalidate any other reasons why the executable file might be
covered by the GNU General Public License. */ covered by the GNU General Public License. */
#include <objc/thr.h>
#include "runtime.h"
/******** /********
* This structure represents a single mutual exclusion lock. Lock semantics * This structure represents a single mutual exclusion lock. Lock semantics
* are detailed with the subsequent functions. We use whatever lock is * are detailed with the subsequent functions. We use whatever lock is
......
/* GNU Objective C Runtime Thread Interface /* GNU Objective C Runtime Thread Interface
Copyright (C) 1996 Free Software Foundation, Inc. Copyright (C) 1996 Free Software Foundation, Inc.
Cobnrtibuted by Galen C. Hunt (gchunt@cs.rochester.edu) Contributed by Galen C. Hunt (gchunt@cs.rochester.edu)
This file is part of GNU CC. This file is part of GNU CC.
...@@ -24,6 +24,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -24,6 +24,7 @@ Boston, MA 02111-1307, USA. */
however invalidate any other reasons why the executable file might be however invalidate any other reasons why the executable file might be
covered by the GNU General Public License. */ covered by the GNU General Public License. */
#include <objc/thr.h>
#include "runtime.h" #include "runtime.h"
#include <thread.h> #include <thread.h>
......
...@@ -25,6 +25,8 @@ Boston, MA 02111-1307, USA. */ ...@@ -25,6 +25,8 @@ Boston, MA 02111-1307, USA. */
covered by the GNU General Public License. */ covered by the GNU General Public License. */
#include <windows.h> #include <windows.h>
#include <objc/thr.h>
#include "runtime.h"
/******** /********
* This structure represents a single mutual exclusion lock. Lock semantics * This structure represents a single mutual exclusion lock. Lock semantics
......
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