diff options
Diffstat (limited to 'src/os/unix/ngx_pthread.h')
-rw-r--r-- | src/os/unix/ngx_pthread.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/os/unix/ngx_pthread.h b/src/os/unix/ngx_pthread.h new file mode 100644 index 000000000..845655f57 --- /dev/null +++ b/src/os/unix/ngx_pthread.h @@ -0,0 +1,14 @@ +#ifndef _NGX_OS_THREAD_H_INCLUDED_ +#define _NGX_OS_THREAD_H_INCLUDED_ + + +#include <pthread.h> + + +typedef pthread_t ngx_os_tid_t; +typedef int ngx_tid_t; + +typedef void *(*)(void *) ngx_thread_start_routine_t + + +#endif /* _NGX_OS_THREAD_H_INCLUDED_ */ |