aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-02-21 11:08:23 -0800
committerGarrett D'Amore <garrett@damore.org>2018-02-21 11:08:23 -0800
commita4d378030df61760ea4daa2ddbe46b1366f8e977 (patch)
tree7bd8bc37acb1aea849eee2daab429e36676fd59e /docs
parent5fe9202ffedf3a57ec789d622bc52efc3435628b (diff)
downloadnng-a4d378030df61760ea4daa2ddbe46b1366f8e977.tar.gz
nng-a4d378030df61760ea4daa2ddbe46b1366f8e977.tar.bz2
nng-a4d378030df61760ea4daa2ddbe46b1366f8e977.zip
Fixes for POSIX pollq structure.
It was possible for pollq arm to be called on a node that was removed in some circumstances -- particularly and ep that was closed in the callback. While here, lets use normal booleans for closed state, and only call the arm function (which is not free -- typicall it involves a mutex and may even involve a system call) if we are going to arm some events. We also initialize these things properly, and clean up a stale comment. This work is done to faciliate the kqueue work by @liamstask.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions