aboutsummaryrefslogtreecommitdiff
path: root/src/nng.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-05-17 20:41:06 -0700
committerGarrett D'Amore <garrett@damore.org>2018-05-17 21:52:07 -0700
commit846c30081a67e961b4a060bdca192ddafb87cce9 (patch)
treec795cd6241979418f651c2e2d5e42091988591d6 /src/nng.c
parent109a559590abfe3017dd317c3068e2457188541c (diff)
downloadnng-846c30081a67e961b4a060bdca192ddafb87cce9.tar.gz
nng-846c30081a67e961b4a060bdca192ddafb87cce9.tar.bz2
nng-846c30081a67e961b4a060bdca192ddafb87cce9.zip
fixes #451 task finalization could be better/smarter (resolver)
This changes nni_task_fini to always run synchronously, waiting for the task to finish before cleaning up. Much simpler code. Additionally, we've refactored the resolver code to avoid the use of taskqs, which added complexity and inefficiency. The approach of just allocating its own threads and a work queue to process them turns out to be vastly simpler, and actually reduces extra allocations and context switches. wip POSIX resolv threads. (Taskqs are just overhead and complexity here.) Windows resolver changes. Task cleanup. fix up windows mutex.
Diffstat (limited to 'src/nng.c')
0 files changed, 0 insertions, 0 deletions