Mercurial > hg > nginx-quic
comparison src/os/unix/ngx_thread.h @ 271:e16dfb9b9afa
nginx-0.0.2-2004-02-26-20:10:01 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 26 Feb 2004 17:10:01 +0000 |
parents | 7bb9562216ce |
children | d4e65d74db9f |
comparison
equal
deleted
inserted
replaced
270:7bb9562216ce | 271:e16dfb9b9afa |
---|---|
58 #define ngx_mutex_lock(m) ngx_mutex_do_lock(m, 0) | 58 #define ngx_mutex_lock(m) ngx_mutex_do_lock(m, 0) |
59 ngx_int_t ngx_mutex_do_lock(ngx_mutex_t *m, ngx_int_t try); | 59 ngx_int_t ngx_mutex_do_lock(ngx_mutex_t *m, ngx_int_t try); |
60 ngx_int_t ngx_mutex_unlock(ngx_mutex_t *m); | 60 ngx_int_t ngx_mutex_unlock(ngx_mutex_t *m); |
61 | 61 |
62 | 62 |
63 extern ngx_int_t ngx_threaded; | |
64 | |
65 | |
63 #else /* !NGX_THREADS */ | 66 #else /* !NGX_THREADS */ |
64 | 67 |
65 #define ngx_log_tid 0 | 68 #define ngx_log_tid 0 |
66 #define TID_T_FMT "%d" | 69 #define TID_T_FMT "%d" |
67 | 70 |