diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-08-05 00:26:37 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-08-05 00:26:37 -0700 |
| commit | 719bc93e11f6607d302d908475b240e1d50f5a89 (patch) | |
| tree | 885da39473db379d0b914df55f2555316b6fe5b6 /src/protocol | |
| parent | a40ab9c52768044fa8f8b74e43bcc23637417f7a (diff) | |
| download | nng-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/protocol')
0 files changed, 0 insertions, 0 deletions
