From d6e51bbaac36e2f670bba351a4cd74e1c0d308ad Mon Sep 17 00:00:00 2001 From: bje Date: Fri, 17 Jul 1998 12:43:44 +0000 Subject: 1998-07-17 Ben Elliston * 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. --- pthread.h | 5 +---- 1 file changed, 1 insertion(+), 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; -- cgit v1.2.3