summaryrefslogtreecommitdiff
path: root/pthread.h
diff options
context:
space:
mode:
authorbje <bje>1998-07-17 12:43:44 +0000
committerbje <bje>1998-07-17 12:43:44 +0000
commitd6e51bbaac36e2f670bba351a4cd74e1c0d308ad (patch)
treef95970f3ebc08a93eccd2efa7c20b8906c94c9d1 /pthread.h
parentae0a43e37e725e5187b6f1ad2afba9a35f882c19 (diff)
1998-07-17 Ben Elliston <bje@cygnus.com>
* pthread.h (PTHREADS_PROCESS_PRIVATE): Remove. (PTHREAD_PROCESS_SHARED): Likewise. No support for mutexes shared across processes for now. (pthread_mutex_t): Use a Win32 CRITICAL_SECTION type for better performance.
Diffstat (limited to 'pthread.h')
-rw-r--r--pthread.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/pthread.h b/pthread.h
index e2889d5..f5f980f 100644
--- a/pthread.h
+++ b/pthread.h
@@ -22,11 +22,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifndef _PTHREADS_H
#define _PTHREADS_H
-#define PTHREAD_PROCESS_PRIVATE 0
-#define PTHREAD_PROCESS_SHARED 1
-
typedef HANDLE pthread_t;
-typedef HANDLE pthread_mutex_t;
+typedef CRITICAL_SECTION pthread_mutex_t;
typedef struct { void * ptr; } pthread_condattr_t;
typedef struct { void * ptr; } pthread_mutexattr_t;