summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */