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
2c4a331f
Commit
2c4a331f
authored
Nov 01, 2011
by
neverlord
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
1b7c22ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
cppa/detail/scheduled_actor.hpp
cppa/detail/scheduled_actor.hpp
+4
-1
No files found.
cppa/detail/scheduled_actor.hpp
View file @
2c4a331f
...
...
@@ -55,6 +55,8 @@ class scheduled_actor : public abstract_actor<local_actor>
~
scheduled_actor
();
inline
util
::
fiber
*
fiber_ptr
()
{
return
&
m_fiber
;
}
void
quit
(
std
::
uint32_t
reason
);
inline
void
enqueue_to_scheduler
()
...
...
@@ -68,7 +70,7 @@ class scheduled_actor : public abstract_actor<local_actor>
inline
std
::
atomic
<
int
>&
state
()
{
return
m_mailbox
.
m_state
;
}
inline
int
compare_exchange_state
(
int
expected
,
int
new_value
)
volatile
inline
int
compare_exchange_state
(
int
expected
,
int
new_value
)
{
int
e
=
expected
;
do
...
...
@@ -145,6 +147,7 @@ void scheduled_actor::execute(scheduled_actor* what,
exit
(
7
);
}
}
break
;
}
default:
{
...
...
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