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
caf21b26
Commit
caf21b26
authored
Sep 03, 2012
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scheduler::register_converted_context({local_actor => actor}*)
parent
04c9dea2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
cppa/scheduler.hpp
cppa/scheduler.hpp
+1
-1
src/scheduler.cpp
src/scheduler.cpp
+1
-1
No files found.
cppa/scheduler.hpp
View file @
caf21b26
...
@@ -103,7 +103,7 @@ class scheduler {
...
@@ -103,7 +103,7 @@ class scheduler {
* (a thread that acts as actor).
* (a thread that acts as actor).
* @note Calls <tt>what->attach(...)</tt>.
* @note Calls <tt>what->attach(...)</tt>.
*/
*/
virtual
void
register_converted_context
(
local_
actor
*
what
);
virtual
void
register_converted_context
(
actor
*
what
);
/**
/**
* @brief Informs the scheduler about a hidden (non-actor)
* @brief Informs the scheduler about a hidden (non-actor)
...
...
src/scheduler.cpp
View file @
caf21b26
...
@@ -236,7 +236,7 @@ channel* scheduler::delayed_send_helper() {
...
@@ -236,7 +236,7 @@ channel* scheduler::delayed_send_helper() {
return
m_helper
->
m_worker
.
get
();
return
m_helper
->
m_worker
.
get
();
}
}
void
scheduler
::
register_converted_context
(
local_
actor
*
what
)
{
void
scheduler
::
register_converted_context
(
actor
*
what
)
{
if
(
what
)
{
if
(
what
)
{
detail
::
inc_actor_count
();
detail
::
inc_actor_count
();
what
->
attach
(
new
exit_observer
);
what
->
attach
(
new
exit_observer
);
...
...
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