Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
46d70555
Commit
46d70555
authored
Aug 24, 2010
by
Martin Sustrik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
connecter object unregisters its fd correctly
parent
87655b0b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
9 deletions
+4
-9
zmq_connecter.cpp
src/zmq_connecter.cpp
+4
-8
zmq_connecter.hpp
src/zmq_connecter.hpp
+0
-1
No files found.
src/zmq_connecter.cpp
View file @
46d70555
...
...
@@ -41,6 +41,10 @@ zmq::zmq_connecter_t::zmq_connecter_t (class io_thread_t *io_thread_,
zmq
::
zmq_connecter_t
::~
zmq_connecter_t
()
{
if
(
wait
)
cancel_timer
();
if
(
handle_valid
)
rm_fd
(
handle
);
}
void
zmq
::
zmq_connecter_t
::
process_plug
()
...
...
@@ -51,14 +55,6 @@ void zmq::zmq_connecter_t::process_plug ()
start_connecting
();
}
void
zmq
::
zmq_connecter_t
::
process_unplug
()
{
if
(
wait
)
cancel_timer
();
if
(
handle_valid
)
rm_fd
(
handle
);
}
void
zmq
::
zmq_connecter_t
::
in_event
()
{
// We are not polling for incomming data, so we are actually called
...
...
src/zmq_connecter.hpp
View file @
46d70555
...
...
@@ -44,7 +44,6 @@ namespace zmq
// Handlers for incoming commands.
void
process_plug
();
void
process_unplug
();
// Handlers for I/O events.
void
in_event
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment