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
3a88e9f7
Commit
3a88e9f7
authored
Sep 22, 2014
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove local_actor::is_running
parent
dd85d276
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
10 deletions
+1
-10
libcaf_core/caf/abstract_actor.hpp
libcaf_core/caf/abstract_actor.hpp
+1
-2
libcaf_core/caf/local_actor.hpp
libcaf_core/caf/local_actor.hpp
+0
-8
No files found.
libcaf_core/caf/abstract_actor.hpp
View file @
3a88e9f7
...
@@ -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
)
{
...
...
libcaf_core/caf/local_actor.hpp
View file @
3a88e9f7
...
@@ -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
);
}
}
...
...
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