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
c5e7363f
Commit
c5e7363f
authored
Jun 14, 2013
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added default impl. for `local_actor::dequeue`
parent
30dde302
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
13 deletions
+10
-13
cppa/event_based_actor.hpp
cppa/event_based_actor.hpp
+0
-11
cppa/local_actor.hpp
cppa/local_actor.hpp
+2
-2
src/local_actor.cpp
src/local_actor.cpp
+8
-0
No files found.
cppa/event_based_actor.hpp
View file @
c5e7363f
...
...
@@ -55,17 +55,6 @@ class event_based_actor : public scheduled_actor {
public:
/**
* @brief Finishes execution with exit reason
* {@link exit_reason::unallowed_function_call unallowed_function_call}.
*/
void
dequeue
(
behavior
&
);
/**
* @copydoc dequeue(behavior&)
*/
void
dequeue_response
(
behavior
&
,
message_id
);
resume_result
resume
(
util
::
fiber
*
,
actor_ptr
&
);
/**
...
...
cppa/local_actor.hpp
View file @
c5e7363f
...
...
@@ -261,11 +261,11 @@ class local_actor : public extend<actor>::with<memory_cached> {
else
quit
(
exit_reason
::
unhandled_sync_failure
);
}
virtual
void
dequeue
(
behavior
&
bhvr
)
=
0
;
virtual
void
dequeue
(
behavior
&
bhvr
);
inline
void
dequeue
(
behavior
&&
bhvr
);
virtual
void
dequeue_response
(
behavior
&
,
message_id
)
=
0
;
virtual
void
dequeue_response
(
behavior
&
,
message_id
);
inline
void
dequeue_response
(
behavior
&&
,
message_id
);
...
...
src/local_actor.cpp
View file @
c5e7363f
...
...
@@ -181,4 +181,12 @@ void local_actor::cleanup(std::uint32_t reason) {
super
::
cleanup
(
reason
);
}
void
local_actor
::
dequeue
(
behavior
&
)
{
quit
(
exit_reason
::
unallowed_function_call
);
}
void
local_actor
::
dequeue_response
(
behavior
&
,
message_id
)
{
quit
(
exit_reason
::
unallowed_function_call
);
}
}
// namespace cppa
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