summaryrefslogtreecommitdiff
path: root/include/xs_utils.h
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:04:04 +0900
committerMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:04:04 +0900
commitf7efe9ca0edfc417f0d0c3631dc0c47c84b22437 (patch)
tree92192ee97671eddb1d83e6b4e5779ef30e860b34 /include/xs_utils.h
parenta025fb7713709b7176b99d7403e05c9d99c6b703 (diff)
Improve checking for the invalid sockets
Till now the "valid" tag of the socket was removed only after the socket was properly deallocated by the reaper thread. That allowed user to access it while it was in the process of being deallocated. Now, the "valid" tag is removed as soon as zmq_close is called. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'include/xs_utils.h')
0 files changed, 0 insertions, 0 deletions