summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_thread_id.h
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2022-06-02 16:51:49 +0400
committerKonstantin Pavlov <thresh@nginx.com>2022-06-02 16:51:49 +0400
commitd9fddee1dbfc1f5d49c8f40386289d7188030952 (patch)
tree842a62b343ac33eba10e7a426a10b55bb1c46aed /src/nxt_thread_id.h
parent420395ee2e7cd464e157c49bea3d74f15bf25f30 (diff)
parent0d48fe73c4450901622373e35f6ff3a944ec13d6 (diff)
downloadunit-1.27.0-1.tar.gz
unit-1.27.0-1.tar.bz2
Merged with the default branch.1.27.0-1
Diffstat (limited to '')
-rw-r--r--src/nxt_thread_id.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/nxt_thread_id.h b/src/nxt_thread_id.h
index 3263a47a..764c9934 100644
--- a/src/nxt_thread_id.h
+++ b/src/nxt_thread_id.h
@@ -179,12 +179,10 @@ NXT_EXPORT nxt_tid_t nxt_thread_tid(nxt_thread_t *thr);
typedef pthread_t nxt_thread_handle_t;
-#define \
-nxt_thread_handle_clear(th) \
+#define nxt_thread_handle_clear(th) \
th = (pthread_t) 0
-#define \
-nxt_thread_handle_equal(th0, th1) \
+#define nxt_thread_handle_equal(th0, th1) \
pthread_equal(th0, th1)