summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_thread_id.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-08-24 17:43:32 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-08-24 17:43:32 +0300
commitb84aa64dcbfb92d31cef10f2f45025a67f2418e4 (patch)
treebd7509540538801bdde233b24c0a130fbd6d757a /src/nxt_thread_id.h
parent8b4b52ae3b3c9400b3d7040a591203a0c1b74ec3 (diff)
downloadunit-b84aa64dcbfb92d31cef10f2f45025a67f2418e4.tar.gz
unit-b84aa64dcbfb92d31cef10f2f45025a67f2418e4.tar.bz2
Removed configure option --no-threads.
Diffstat (limited to 'src/nxt_thread_id.h')
-rw-r--r--src/nxt_thread_id.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/nxt_thread_id.h b/src/nxt_thread_id.h
index d083b8fc..f8a52533 100644
--- a/src/nxt_thread_id.h
+++ b/src/nxt_thread_id.h
@@ -8,9 +8,6 @@
#define _NXT_UNIX_THREAD_ID_H_INCLUDED_
-#if (NXT_THREADS)
-
-
#if (NXT_LINUX)
typedef pid_t nxt_tid_t;
@@ -65,17 +62,4 @@ nxt_thread_handle_equal(th0, th1) \
pthread_equal(th0, th1)
-#else /* !(NXT_THREADS) */
-
-typedef uint32_t nxt_tid_t;
-typedef uint32_t nxt_thread_handle_t;
-
-
-#define \
-nxt_thread_tid(thr) \
- 0
-
-#endif
-
-
#endif /* _NXT_UNIX_THREAD_ID_H_INCLUDED_ */