summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_process.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
commite58f4ef0d030f270c3ef2da7dcb891c961718372 (patch)
tree3d902bbe55b8edce47e8721edb2cf883bf600e95 /src/nxt_process.h
parente15b975e9d285f84535c7697f1d87568bfb08269 (diff)
downloadunit-e58f4ef0d030f270c3ef2da7dcb891c961718372.tar.gz
unit-e58f4ef0d030f270c3ef2da7dcb891c961718372.tar.bz2
Memory pool thread safety checks in DEBUG build and usage fixes.
Diffstat (limited to 'src/nxt_process.h')
-rw-r--r--src/nxt_process.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_process.h b/src/nxt_process.h
index d0ed7343..28824bd0 100644
--- a/src/nxt_process.h
+++ b/src/nxt_process.h
@@ -57,8 +57,10 @@ typedef struct {
nxt_process_init_t *init;
nxt_thread_mutex_t incoming_mutex;
+ nxt_mp_t *incoming_mp;
nxt_array_t *incoming; /* of nxt_port_mmap_t */
nxt_thread_mutex_t outgoing_mutex;
+ nxt_mp_t *outgoing_mp;
nxt_array_t *outgoing; /* of nxt_port_mmap_t */
nxt_lvlhsh_t connected_ports; /* of nxt_port_t */