Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
actor-incubator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
actor-incubator
Commits
9e2b8bba
Commit
9e2b8bba
authored
Oct 06, 2019
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Detect nop in register_reading
parent
6519dd74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
libcaf_net/src/multiplexer.cpp
libcaf_net/src/multiplexer.cpp
+4
-3
No files found.
libcaf_net/src/multiplexer.cpp
View file @
9e2b8bba
...
@@ -110,9 +110,10 @@ void multiplexer::register_reading(const socket_manager_ptr& mgr) {
...
@@ -110,9 +110,10 @@ void multiplexer::register_reading(const socket_manager_ptr& mgr) {
if
(
std
::
this_thread
::
get_id
()
==
tid_
)
{
if
(
std
::
this_thread
::
get_id
()
==
tid_
)
{
if
(
mgr
->
mask
()
!=
operation
::
none
)
{
if
(
mgr
->
mask
()
!=
operation
::
none
)
{
CAF_ASSERT
(
index_of
(
mgr
)
!=
-
1
);
CAF_ASSERT
(
index_of
(
mgr
)
!=
-
1
);
mgr
->
mask_add
(
operation
::
read
);
if
(
mgr
->
mask_add
(
operation
::
read
))
{
auto
&
fd
=
pollset_
[
index_of
(
mgr
)];
auto
&
fd
=
pollset_
[
index_of
(
mgr
)];
fd
.
events
|=
input_mask
;
fd
.
events
|=
input_mask
;
}
}
else
if
(
mgr
->
mask_add
(
operation
::
read
))
{
}
else
if
(
mgr
->
mask_add
(
operation
::
read
))
{
add
(
mgr
);
add
(
mgr
);
}
}
...
...
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