summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbje <bje>1998-07-10 13:16:11 +0000
committerbje <bje>1998-07-10 13:16:11 +0000
commit1c3b20cb67c9b885a0684624ec51f2fb3166ef3d (patch)
treed79b69f7378e80ad9c3862355a0c65987cf4f33b
parent3907d7b591e7068d91bf4ac1de88cc020c7499f1 (diff)
1998-07-10 Ben Elliston <bje@cygnus.com>
* pthread.h (pthread_self): Add function prototype. (pthread_t): Define this type.
-rw-r--r--pthread.h4
1 files changed, 4 insertions, 0 deletions
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 */