aboutsummaryrefslogtreecommitdiff
path: root/src/os/win32/ngx_thread.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-03-04 07:04:55 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-03-04 07:04:55 +0000
commita536298c7bd1f525db97facab814a2906214ee7f (patch)
tree201ef9d639e1ff100684bf0a6781f59602418e35 /src/os/win32/ngx_thread.h
parent5edf387f199efe5b67b2b81a00bc8404bea8365b (diff)
downloadnginx-a536298c7bd1f525db97facab814a2906214ee7f.tar.gz
nginx-a536298c7bd1f525db97facab814a2906214ee7f.zip
nginx-0.0.2-2004-03-04-10:04:55 import
Diffstat (limited to 'src/os/win32/ngx_thread.h')
-rw-r--r--src/os/win32/ngx_thread.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/os/win32/ngx_thread.h b/src/os/win32/ngx_thread.h
new file mode 100644
index 000000000..cb282fbc0
--- /dev/null
+++ b/src/os/win32/ngx_thread.h
@@ -0,0 +1,26 @@
+#ifndef _NGX_THREAD_H_INCLUDED_
+#define _NGX_THREAD_H_INCLUDED_
+
+
+#include <ngx_config.h>
+#include <ngx_core.h>
+
+
+#if (NGX_THREADS)
+
+#define ngx_thread_volatile volatile
+
+#else /* !NGX_THREADS */
+
+#define ngx_thread_volatile
+
+#define ngx_log_tid 0
+#define TID_T_FMT "%d"
+
+#define ngx_mutex_lock(m) NGX_OK
+#define ngx_mutex_unlock(m)
+
+#endif
+
+
+#endif /* _NGX_THREAD_H_INCLUDED_ */