summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_work_queue.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-07-07 16:01:34 +0300
committerMax Romanov <max.romanov@nginx.com>2017-07-07 16:01:34 +0300
commite15b975e9d285f84535c7697f1d87568bfb08269 (patch)
tree6b8fabb22063407631b5d5078b66e8c27c018fc8 /src/nxt_work_queue.h
parent5529e9f0d164960f38f12f160844e5eba165e8ef (diff)
downloadunit-e15b975e9d285f84535c7697f1d87568bfb08269.tar.gz
unit-e15b975e9d285f84535c7697f1d87568bfb08269.tar.bz2
Work queue thread safety checks for DEBUG build.
Diffstat (limited to 'src/nxt_work_queue.h')
-rw-r--r--src/nxt_work_queue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_work_queue.h b/src/nxt_work_queue.h
index 90c344dc..9819882e 100644
--- a/src/nxt_work_queue.h
+++ b/src/nxt_work_queue.h
@@ -68,6 +68,8 @@ struct nxt_work_queue_s {
nxt_work_queue_cache_t *cache;
#if (NXT_DEBUG)
const char *name;
+ int32_t pid;
+ nxt_tid_t tid;
#endif
};