Mercurial > hg > nginx
comparison src/os/unix/ngx_thread.h @ 380:5ce6561246a5
nginx-0.0.7-2004-07-07-10:15:04 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 07 Jul 2004 06:15:04 +0000 |
parents | 73688d5d7fc3 |
children | 02a511569afb |
comparison
equal
deleted
inserted
replaced
379:73688d5d7fc3 | 380:5ce6561246a5 |
---|---|
19 #include <pthread_np.h> | 19 #include <pthread_np.h> |
20 | 20 |
21 typedef pthread_t ngx_tid_t; | 21 typedef pthread_t ngx_tid_t; |
22 | 22 |
23 #define ngx_thread_self() pthread_self() | 23 #define ngx_thread_self() pthread_self() |
24 #define ngx_thread_main() pthread_main_np() | |
25 #define ngx_log_tid (int) ngx_thread_self() | 24 #define ngx_log_tid (int) ngx_thread_self() |
26 | 25 |
27 #define TID_T_FMT PTR_FMT | 26 #define TID_T_FMT PTR_FMT |
28 | 27 |
29 | 28 |