summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_process.c
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2020-08-11 19:20:06 +0300
committerMax Romanov <max.romanov@nginx.com>2020-08-11 19:20:06 +0300
commitbf647588ff781e606651f001b53a4e83bb34c000 (patch)
tree6113737bf5da1b6cc53e333deba3114c6b43ec0d /src/nxt_process.c
parentec3389b63bd7a9159d2be4a2863140f75095c7d3 (diff)
downloadunit-bf647588ff781e606651f001b53a4e83bb34c000.tar.gz
unit-bf647588ff781e606651f001b53a4e83bb34c000.tar.bz2
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.
Diffstat (limited to 'src/nxt_process.c')
0 files changed, 0 insertions, 0 deletions