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
5de2a82b
Commit
5de2a82b
authored
Sep 12, 2017
by
Luca Boccassi
Committed by
GitHub
Sep 12, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2744 from msune/refactor_poller_wait
Problem: duplicated socket_poller::wait() code
parents
18498f62
5b929895
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
socket_poller.cpp
src/socket_poller.cpp
+0
-0
socket_poller.hpp
src/socket_poller.hpp
+15
-0
No files found.
src/socket_poller.cpp
View file @
5de2a82b
This diff is collapsed.
Click to expand it.
src/socket_poller.hpp
View file @
5de2a82b
...
...
@@ -81,6 +81,21 @@ namespace zmq
bool
check_tag
();
private
:
void
zero_trail_events
(
zmq
::
socket_poller_t
::
event_t
*
events_
,
int
n_events_
,
int
found
);
#if defined ZMQ_POLL_BASED_ON_POLL
int
check_events
(
zmq
::
socket_poller_t
::
event_t
*
events_
,
int
n_events_
);
#elif defined ZMQ_POLL_BASED_ON_SELECT
int
check_events
(
zmq
::
socket_poller_t
::
event_t
*
events_
,
int
n_events_
,
fd_set
&
inset
,
fd_set
&
outset
,
fd_set
&
errset
);
#endif
int
adjust_timeout
(
zmq
::
clock_t
&
clock
,
long
timeout_
,
uint64_t
&
now
,
uint64_t
&
end
,
bool
&
first_pass
);
void
rebuild
();
// Used to check whether the object is a socket_poller.
...
...
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