From 6532e46465276efcedae299ce290eb8dff0ece57 Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Thu, 19 Oct 2017 17:36:56 +0300 Subject: Supporting concurrent shared memory fd receive in router. Two different router threads may send different requests to single application worker. In this case shared memory fds from worker to router will be send over 2 different router ports. These fds will be received and processed by different threads in any order. This patch made possible to add incoming shared memory segments in arbitrary order. Additionally, array and memory pool are no longer used to store segments because of pool's single threaded nature. Custom array-like structure nxt_port_mmaps_t introduced. --- src/nxt_main.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/nxt_main.h') diff --git a/src/nxt_main.h b/src/nxt_main.h index 978381b9..a12e8153 100644 --- a/src/nxt_main.h +++ b/src/nxt_main.h @@ -103,7 +103,6 @@ typedef struct { #include typedef struct nxt_buf_s nxt_buf_t; -typedef struct nxt_port_mmap_s nxt_port_mmap_t; #include #include #include -- cgit