Mercurial > hg > nginx
comparison src/os/win32/ngx_thread.h @ 278:0ba4821f4460
nginx-0.0.2-2004-03-04-10:04:55 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 04 Mar 2004 07:04:55 +0000 |
parents | |
children | da8c5707af39 |
comparison
equal
deleted
inserted
replaced
277:e91499541410 | 278:0ba4821f4460 |
---|---|
1 #ifndef _NGX_THREAD_H_INCLUDED_ | |
2 #define _NGX_THREAD_H_INCLUDED_ | |
3 | |
4 | |
5 #include <ngx_config.h> | |
6 #include <ngx_core.h> | |
7 | |
8 | |
9 #if (NGX_THREADS) | |
10 | |
11 #define ngx_thread_volatile volatile | |
12 | |
13 #else /* !NGX_THREADS */ | |
14 | |
15 #define ngx_thread_volatile | |
16 | |
17 #define ngx_log_tid 0 | |
18 #define TID_T_FMT "%d" | |
19 | |
20 #define ngx_mutex_lock(m) NGX_OK | |
21 #define ngx_mutex_unlock(m) | |
22 | |
23 #endif | |
24 | |
25 | |
26 #endif /* _NGX_THREAD_H_INCLUDED_ */ |