Memory pool thread safety checks in DEBUG build and usage fixes.

This commit is contained in:
Max Romanov
2017-07-07 16:01:34 +03:00
parent e15b975e9d
commit e58f4ef0d0
6 changed files with 100 additions and 16 deletions

View File

@@ -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 */