summaryrefslogtreecommitdiff
path: root/pthread.h
diff options
context:
space:
mode:
authorrpj <rpj>1998-07-27 08:11:21 +0000
committerrpj <rpj>1998-07-27 08:11:21 +0000
commit8a90a4b73ddc1709dd6b6ee5799cce4d57b66a8e (patch)
treec95d5557876242864f99e8fe8715cf042a6c402d /pthread.h
parent537fe68bc5ca2dd75f4f54146a50a39c5b55b8e3 (diff)
Mon Jul 27 17:46:37 1998 Ross Johnson <rpj@swan.canberra.edu.au>
* 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.
Diffstat (limited to 'pthread.h')
-rw-r--r--pthread.h2
1 files changed, 1 insertions, 1 deletions
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;