summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_process.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-10-04 14:57:56 +0300
committerMax Romanov <max.romanov@nginx.com>2017-10-04 14:57:56 +0300
commitba311997866a4c2ef6ceeaac846832a85bd86f17 (patch)
tree74c268496a856065eec13b57db2a5158da2b6cd1 /src/nxt_process.h
parent4ae76249edb97775be8a0c749ad9ee79e3e85393 (diff)
downloadunit-ba311997866a4c2ef6ceeaac846832a85bd86f17.tar.gz
unit-ba311997866a4c2ef6ceeaac846832a85bd86f17.tar.bz2
Removing mem_pool from port_hash interface.
Memory pool is not used by port_hash and it was a mistake to pass it into 'add' and 'remove' functions. port_hash enrties are allocated from heap.
Diffstat (limited to 'src/nxt_process.h')
-rw-r--r--src/nxt_process.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nxt_process.h b/src/nxt_process.h
index 63302701..c3ffc702 100644
--- a/src/nxt_process.h
+++ b/src/nxt_process.h
@@ -58,7 +58,6 @@ typedef struct {
nxt_array_t *outgoing; /* of nxt_port_mmap_t */
nxt_thread_mutex_t cp_mutex;
- nxt_mp_t *cp_mem_pool;
nxt_lvlhsh_t connected_ports; /* of nxt_port_t */
} nxt_process_t;