Commit 3a88e9f7 authored by Dominik Charousset's avatar Dominik Charousset

Remove local_actor::is_running

parent dd85d276
...@@ -197,8 +197,7 @@ class abstract_actor : public abstract_channel { ...@@ -197,8 +197,7 @@ class abstract_actor : public abstract_channel {
has_timeout_flag = 0x02, // mixin::single_timeout has_timeout_flag = 0x02, // mixin::single_timeout
is_registered_flag = 0x04, // no_resume, resumable, and scoped_actor is_registered_flag = 0x04, // no_resume, resumable, and scoped_actor
is_initialized_flag = 0x08, // event-based actors is_initialized_flag = 0x08, // event-based actors
is_running_flag = 0x10, // broker is_blocking_flag = 0x10 // blocking_actor
is_blocking_flag = 0x20 // blocking_actor
}; };
inline void set_flag(bool enable_flag, actor_state_flag mask) { inline void set_flag(bool enable_flag, actor_state_flag mask) {
......
...@@ -312,14 +312,6 @@ class local_actor : public extend<abstract_actor>::with<mixin::memory_cached> { ...@@ -312,14 +312,6 @@ class local_actor : public extend<abstract_actor>::with<mixin::memory_cached> {
set_flag(value, is_initialized_flag); set_flag(value, is_initialized_flag);
} }
inline bool is_running() const {
return get_flag(is_running_flag);
}
inline void is_running(bool value) {
set_flag(value, is_running_flag);
}
inline bool is_blocking() const { inline bool is_blocking() const {
return get_flag(is_blocking_flag); return get_flag(is_blocking_flag);
} }
......
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