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
bc0e557f
Commit
bc0e557f
authored
Jan 14, 2020
by
Jakob Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix event numbering
parent
473f0df8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
libcaf_net/src/multiplexer.cpp
libcaf_net/src/multiplexer.cpp
+3
-3
No files found.
libcaf_net/src/multiplexer.cpp
View file @
bc0e557f
...
...
@@ -241,7 +241,7 @@ void multiplexer::shutdown() {
}
close_pipe
();
}
else
{
write_to_pipe
(
5
,
nullptr
);
write_to_pipe
(
4
,
nullptr
);
}
}
...
...
@@ -292,10 +292,10 @@ void multiplexer::del(ptrdiff_t index) {
}
void
multiplexer
::
write_to_pipe
(
uint8_t
opcode
,
const
socket_manager_ptr
&
mgr
)
{
CAF_ASSERT
(
opcode
==
0
||
opcode
==
1
||
opcode
==
4
||
opcode
==
5
);
CAF_ASSERT
(
opcode
==
0
||
opcode
==
1
||
opcode
==
4
);
CAF_ASSERT
(
mgr
!=
nullptr
||
opcode
==
4
);
pollset_updater
::
msg_buf
buf
;
if
(
opcode
!=
5
)
if
(
opcode
!=
4
)
mgr
->
ref
();
buf
[
0
]
=
static_cast
<
byte
>
(
opcode
);
auto
value
=
reinterpret_cast
<
intptr_t
>
(
mgr
.
get
());
...
...
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