Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
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
Operations
Operations
Metrics
Environments
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 Framework
Commits
9e060c37
Commit
9e060c37
authored
Sep 21, 2020
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support more mailbox types in sync_request_bouncer
parent
11664cbc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
libcaf_core/caf/detail/sync_request_bouncer.hpp
libcaf_core/caf/detail/sync_request_bouncer.hpp
+2
-1
libcaf_core/src/detail/sync_request_bouncer.cpp
libcaf_core/src/detail/sync_request_bouncer.cpp
+3
-1
No files found.
libcaf_core/caf/detail/sync_request_bouncer.hpp
View file @
9e060c37
...
...
@@ -32,7 +32,8 @@ struct CAF_CORE_EXPORT sync_request_bouncer {
error
rsn
;
explicit
sync_request_bouncer
(
error
r
);
void
operator
()(
const
strong_actor_ptr
&
sender
,
const
message_id
&
mid
)
const
;
void
operator
()(
const
mailbox_element
&
e
)
const
;
intrusive
::
task_result
operator
()(
const
mailbox_element
&
e
)
const
;
/// Unwrap WDRR queues. Nesting WDRR queues results in a Key/Queue prefix for
/// each layer of nesting.
...
...
libcaf_core/src/detail/sync_request_bouncer.cpp
View file @
9e060c37
...
...
@@ -42,8 +42,10 @@ void sync_request_bouncer::operator()(const strong_actor_ptr& sender,
nullptr
);
}
void
sync_request_bouncer
::
operator
()(
const
mailbox_element
&
e
)
const
{
intrusive
::
task_result
sync_request_bouncer
::
operator
()(
const
mailbox_element
&
e
)
const
{
(
*
this
)(
e
.
sender
,
e
.
mid
);
return
intrusive
::
task_result
::
resume
;
}
}
// namespace caf::detail
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