summaryrefslogtreecommitdiffhomepage
path: root/src/nginext/nxt_go_run_ctx.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-07-12 20:32:18 +0300
committerMax Romanov <max.romanov@nginx.com>2017-07-12 20:32:18 +0300
commita97a5e8a0b7a921905994bae101d4f74f5a8aaa4 (patch)
tree922a2e6fed3630439b56d99b57c7452ee259f617 /src/nginext/nxt_go_run_ctx.h
parent51bbdd33382eee7da34ff0ed7d0df51ab2345786 (diff)
downloadunit-a97a5e8a0b7a921905994bae101d4f74f5a8aaa4.tar.gz
unit-a97a5e8a0b7a921905994bae101d4f74f5a8aaa4.tar.bz2
Go: worker initialization. READY message to master.
Diffstat (limited to 'src/nginext/nxt_go_run_ctx.h')
-rw-r--r--src/nginext/nxt_go_run_ctx.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nginext/nxt_go_run_ctx.h b/src/nginext/nxt_go_run_ctx.h
index 244bd7c3..c7c3da15 100644
--- a/src/nginext/nxt_go_run_ctx.h
+++ b/src/nginext/nxt_go_run_ctx.h
@@ -36,6 +36,7 @@ typedef struct {
nxt_go_msg_t msg;
nxt_go_process_t *process;
+ nxt_port_mmap_msg_t *wmmap_msg;
uint32_t nrbuf;
nxt_buf_t rbuf;
@@ -43,7 +44,7 @@ typedef struct {
uint32_t nwbuf;
nxt_buf_t wbuf;
nxt_port_msg_t wport_msg;
- nxt_port_mmap_msg_t wmmap_msg[8];
+ char wmmap_msg_buf[ sizeof(nxt_port_mmap_msg_t) * 8 ];
nxt_app_request_t r;