Adding a reference counter to the libunit port structure.
The goal is to minimize the number of (pid, id) to port hash lookups which require a library mutex lock. The response port is found once per request, while the read port is initialized at startup.
This commit is contained in:
680
src/nxt_unit.c
680
src/nxt_unit.c
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user