Work queue thread safety checks for DEBUG build.

This commit is contained in:
Max Romanov
2017-07-07 16:01:34 +03:00
parent 5529e9f0d1
commit e15b975e9d
3 changed files with 44 additions and 7 deletions

View File

@@ -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
};