From 8a90a4b73ddc1709dd6b6ee5799cce4d57b66a8e Mon Sep 17 00:00:00 2001 From: rpj Date: Mon, 27 Jul 1998 08:11:21 +0000 Subject: Mon Jul 27 17:46:37 1998 Ross Johnson * create.c (pthread_create): Start of rewrite. Not completed yet. * private.c (_pthread_new_thread_entry): Start of rewrite. Not complete. * implement.h (_pthread_threads_thread): Rename, remove thread member, add win32handle and ptstatus members. (_pthread_t): Add. * pthread.h: pthread_t is no longer mapped directly to a Win32 HANDLE type. This is so we can let the Win32 thread terminate and reuse the HANDLE while pthreads holds it's own thread ID until the last waiting join exits. --- pthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pthread.h') diff --git a/pthread.h b/pthread.h index 129c720..d2be555 100644 --- a/pthread.h +++ b/pthread.h @@ -65,7 +65,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. pointer to an object in memory. */ #define PTHREAD_CANCELED ((void *) 1) -typedef HANDLE pthread_t; +typedef struct _pthread * pthread_t; typedef CRITICAL_SECTION pthread_mutex_t; typedef DWORD pthread_key_t; -- cgit v1.2.3