Store pointer to shared memory start in buf->parent.
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.
This commit is contained in:
@@ -20,6 +20,7 @@ NXT_LIB_DEPS=" \
|
||||
src/nxt_port.h \
|
||||
src/nxt_port_hash.h \
|
||||
src/nxt_port_memory.h \
|
||||
src/nxt_port_memory_int.h \
|
||||
src/nxt_dyld.h \
|
||||
src/nxt_thread.h \
|
||||
src/nxt_thread_id.h \
|
||||
|
||||
Reference in New Issue
Block a user