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:
Max Romanov
2020-08-11 19:20:06 +03:00
parent ec3389b63b
commit bf647588ff
3 changed files with 347 additions and 358 deletions

File diff suppressed because it is too large Load Diff