diff options
author | Max Romanov <max.romanov@nginx.com> | 2017-07-07 16:01:34 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2017-07-07 16:01:34 +0300 |
commit | e15b975e9d285f84535c7697f1d87568bfb08269 (patch) | |
tree | 6b8fabb22063407631b5d5078b66e8c27c018fc8 /src/nxt_work_queue.h | |
parent | 5529e9f0d164960f38f12f160844e5eba165e8ef (diff) | |
download | unit-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.h | 2 |
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 }; |