aboutsummaryrefslogtreecommitdiff
path: root/src/core/init.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-08-05 00:26:37 -0700
committerGarrett D'Amore <garrett@damore.org>2017-08-05 00:26:37 -0700
commit719bc93e11f6607d302d908475b240e1d50f5a89 (patch)
tree885da39473db379d0b914df55f2555316b6fe5b6 /src/core/init.c
parenta40ab9c52768044fa8f8b74e43bcc23637417f7a (diff)
downloadnng-719bc93e11f6607d302d908475b240e1d50f5a89.tar.gz
nng-719bc93e11f6607d302d908475b240e1d50f5a89.tar.bz2
nng-719bc93e11f6607d302d908475b240e1d50f5a89.zip
Use a dedicated reap thread instead of taskq.
The problem is that reaping these things performs some blocking operations which can tie up slots in the taskq, preventing other tasks from running. Ultimately this can lead to a deadlock as tasks that are blocked wind up waiting for tasks that can't get scheduled. Blocking tasks really should not run on the system taskq.
Diffstat (limited to 'src/core/init.c')
0 files changed, 0 insertions, 0 deletions