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
e608ad30
Commit
e608ad30
authored
Oct 27, 2019
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply suggestions from code review
Co-Authored-By:
Joseph Noir
<
josephnoir@users.noreply.github.com
>
parent
abfeb063
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
libcaf_core/caf/actor_profiler.hpp
libcaf_core/caf/actor_profiler.hpp
+2
-2
libcaf_core/caf/actor_system_config.hpp
libcaf_core/caf/actor_system_config.hpp
+1
-1
libcaf_core/test/actor_profiler.cpp
libcaf_core/test/actor_profiler.cpp
+1
-1
No files found.
libcaf_core/caf/actor_profiler.hpp
View file @
e608ad30
...
...
@@ -32,7 +32,7 @@ public:
/// Called whenever the actor system spawns a new actor. The system calls this
/// member function after the constructor of `self` has completed but before
/// constructing the behavior
.
/// constructing the behavior.
/// @param self The new actor.
/// @param parent Points to the parent actor unless `self` is a top-level
/// actor (in this case, `parent` has the value `nullptr`).
...
...
@@ -53,7 +53,7 @@ public:
const
mailbox_element
&
element
)
=
0
;
/// Called
whenev
er an actor processed an element from its mailbox.
/// Called
aft
er an actor processed an element from its mailbox.
/// @param self The current actor.
/// @param result Stores whether the actor consumed, skipped or dropped the
/// message.
...
...
libcaf_core/caf/actor_system_config.hpp
View file @
e608ad30
...
...
@@ -303,7 +303,7 @@ public:
/// Provides system-wide callbacks for several actor operations.
/// @experimental
/// @note
has no effect unless building CAF with CAF_ENABLE_ACTOR_PROFILER
/// @note
Has no effect unless building CAF with CAF_ENABLE_ACTOR_PROFILER.
actor_profiler
*
profiler
=
nullptr
;
// -- run-time type information ----------------------------------------------
...
...
libcaf_core/test/actor_profiler.cpp
View file @
e608ad30
...
...
@@ -140,7 +140,7 @@ CAF_TEST(record actor messaging) {
auto
b
=
self
->
spawn
(
bar
);
self
->
send
(
b
,
"hello bar"
);
return
{
[](
const
std
::
string
&
str
)
mutable
{
CAF_CHECK_EQUAL
(
str
,
"hello foo"
);
},
[](
const
std
::
string
&
str
)
{
CAF_CHECK_EQUAL
(
str
,
"hello foo"
);
},
};
};
sys
.
spawn
(
foo
);
...
...
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