Commit caf21b26 authored by Dominik Charousset's avatar Dominik Charousset

scheduler::register_converted_context({local_actor => actor}*)

parent 04c9dea2
...@@ -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)
......
...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment