Removed configure option --no-threads.

This commit is contained in:
Igor Sysoev
2017-08-24 17:43:32 +03:00
parent 8b4b52ae3b
commit b84aa64dcb
21 changed files with 18 additions and 305 deletions

View File

@@ -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_ */