From ba311997866a4c2ef6ceeaac846832a85bd86f17 Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Wed, 4 Oct 2017 14:57:56 +0300 Subject: 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. --- src/nxt_process.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/nxt_process.h') 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; -- cgit