diff options
| -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 */ | 
