summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port_memory.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-07-12New process port exchange changed. READY message type introduced.Max Romanov1-0/+2
Application process start request DATA message from router to master. Master notifies router via NEW_PORT message after worker process become ready.
2017-06-23Moved message size to nxt_port_recv_msg_t for convenience.Max Romanov1-1/+1
2017-06-23Store pointer to shared memory start in buf->parent.Max Romanov1-1/+11
nxt_port_mmap_t stored in arrays and it is unsafe to store pointer to array element. Shared memory structures and macros moved to separate header file to be used by GO package.
2017-05-12Using shared memory to send data via nxt_port.Max Romanov1-0/+50
Usage: b = nxt_port_mmap_get_buf(task, port, size); b->mem.free = nxt_cpymem(b->mem.free, data, size); nxt_port_socket_write(task, port, NXT_PORT_MSG_DATA, -1, 0, b);