From 1c3b20cb67c9b885a0684624ec51f2fb3166ef3d Mon Sep 17 00:00:00 2001 From: bje Date: Fri, 10 Jul 1998 13:16:11 +0000 Subject: 1998-07-10 Ben Elliston * pthread.h (pthread_self): Add function prototype. (pthread_t): Define this type. --- pthread.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pthread.h') diff --git a/pthread.h b/pthread.h index e9f9b86..98f25ba 100644 --- a/pthread.h +++ b/pthread.h @@ -22,6 +22,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef _PTHREADS_H #define _PTHREADS_H +typedef HANDLE pthread_t; + #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ @@ -33,6 +35,8 @@ int pthread_create(pthread_t *thread, void pthread_exit(void *value); +pthread_t pthread_self(void); + #ifdef __cplusplus } #endif /* __cplusplus */ -- cgit v1.2.3