diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:04:04 +0900 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:04:04 +0900 |
commit | f7efe9ca0edfc417f0d0c3631dc0c47c84b22437 (patch) | |
tree | 92192ee97671eddb1d83e6b4e5779ef30e860b34 /src/generic.hpp | |
parent | a025fb7713709b7176b99d7403e05c9d99c6b703 (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 'src/generic.hpp')
0 files changed, 0 insertions, 0 deletions