summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port_memory_int.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-10-19Introducing src_pid for mmap header for accurate buf completion.Max Romanov1-1/+2
This allows to use shared memory to communicate with main process. This patch changes shared memory segment format and breaks compatibility with older modules.
2017-09-18Fixing shared memory thread safety issue.Max Romanov1-0/+1
Do not reuse shared memory segment with different port until this segment successfully received and indexed on other side. However, segment can be used to transfer data via the port it was sent at any time.
2017-06-23Store pointer to shared memory start in buf->parent.Max Romanov1-0/+179
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.