summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port_memory.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2019-08-16 00:48:11 +0300
committerMax Romanov <max.romanov@nginx.com>2019-08-16 00:48:11 +0300
commitcaea9d3c07543fecf9035ff2b406c190b714989e (patch)
treeec6ebad45d9aa7adec1a6f3a9962934475cdbced /src/nxt_port_memory.h
parent4d7576d3239b3be6db2b1083a3d99b31ce4f4cd0 (diff)
downloadunit-caea9d3c07543fecf9035ff2b406c190b714989e.tar.gz
unit-caea9d3c07543fecf9035ff2b406c190b714989e.tar.bz2
Fixing multi-thread port write racing conditions.
Diffstat (limited to 'src/nxt_port_memory.h')
-rw-r--r--src/nxt_port_memory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_port_memory.h b/src/nxt_port_memory.h
index c6a49ccf..748549b1 100644
--- a/src/nxt_port_memory.h
+++ b/src/nxt_port_memory.h
@@ -55,7 +55,7 @@ nxt_port_incoming_port_mmap(nxt_task_t *task, nxt_process_t *process,
void
nxt_port_mmap_write(nxt_task_t *task, nxt_port_t *port,
- nxt_port_send_msg_t *msg, nxt_sendbuf_coalesce_t *sb);
+ nxt_port_send_msg_t *msg, nxt_sendbuf_coalesce_t *sb, void *mmsg_buf);
void
nxt_port_mmap_read(nxt_task_t *task, nxt_port_recv_msg_t *msg);