#ifndef PTHREAD_H_INCLUDED
#define PTHREAD_H_INCLUDED

#include <windows.h>

#define	PTHREAD_ONCE_INIT	100

typedef DWORD pthread_once_t;
typedef DWORD pthread_key_t;

int pthread_key_create (pthread_key_t *, void (*)(void *));
int pthread_setspecific (pthread_key_t, const void *);
void *pthread_getspecific (pthread_key_t);

int pthread_once (pthread_once_t *, void (*)(void));

#endif
