diff options
author | bje <bje> | 1998-07-10 13:16:11 +0000 |
---|---|---|
committer | bje <bje> | 1998-07-10 13:16:11 +0000 |
commit | 1c3b20cb67c9b885a0684624ec51f2fb3166ef3d (patch) | |
tree | d79b69f7378e80ad9c3862355a0c65987cf4f33b /pthread.h | |
parent | 3907d7b591e7068d91bf4ac1de88cc020c7499f1 (diff) |
1998-07-10 Ben Elliston <bje@cygnus.com>
* pthread.h (pthread_self): Add function prototype.
(pthread_t): Define this type.
Diffstat (limited to 'pthread.h')
-rw-r--r-- | pthread.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 */ |