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
ec87eff1
Commit
ec87eff1
authored
Oct 11, 2013
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added new exit reason `user_shutdown`
parent
bb3d7991
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
cppa/exit_reason.hpp
cppa/exit_reason.hpp
+8
-1
manual/ActorManagement.tex
manual/ActorManagement.tex
+2
-0
No files found.
cppa/exit_reason.hpp
View file @
ec87eff1
...
...
@@ -53,7 +53,8 @@ static constexpr std::uint32_t unhandled_exception = 0x00002;
/**
* @brief Indicates that an event-based actor
* tried to use receive().
* tried to use {@link receive()} or a strongly typed actor tried
* to call {@link become()}.
*/
static
constexpr
std
::
uint32_t
unallowed_function_call
=
0x00003
;
...
...
@@ -68,6 +69,12 @@ static constexpr std::uint32_t unhandled_sync_failure = 0x00004;
*/
static
constexpr
std
::
uint32_t
unhandled_sync_timeout
=
0x00005
;
/**
* @brief Indicates that the actor was forced to shutdown by
* a user-generated event.
*/
static
constexpr
std
::
uint32_t
user_shutdown
=
0x00010
;
/**
* @brief Indicates that an actor finishied execution
* because a connection to a remote link was
...
...
manual/ActorManagement.tex
View file @
ec87eff1
...
...
@@ -67,6 +67,8 @@ To obtain a string representation of an error code, use \lstinline^cppa::exit_re
\hline
\lstinline
^
unhandled
_
sync
_
timeout
^
&
5
&
Actor was killed, because no timeout handler was set and a synchronous message timed out
\\
\hline
\lstinline
^
user
_
shutdown
^
&
16
&
Actor was killed by a user-generated event
\\
\hline
\lstinline
^
remote
_
link
_
unreachable
^
&
257
&
Indicates that a remote actor became unreachable, e.g., due to connection error
\\
\hline
\lstinline
^
user
_
defined
^
&
65536
&
Minimum value for user-defined exit codes
\\
...
...
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