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
8345bfa3
Commit
8345bfa3
authored
Mar 22, 2016
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use 64 instead of 32 bit for actor IDs
parent
06a2788a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
libcaf_core/caf/abstract_actor.hpp
libcaf_core/caf/abstract_actor.hpp
+2
-2
libcaf_core/caf/fwd.hpp
libcaf_core/caf/fwd.hpp
+1
-1
No files found.
libcaf_core/caf/abstract_actor.hpp
View file @
8345bfa3
...
...
@@ -47,7 +47,7 @@ namespace caf {
/// A unique actor ID.
/// @relates abstract_actor
using
actor_id
=
uint
32
_t
;
using
actor_id
=
uint
64
_t
;
/// Denotes an ID that is never used by an actor.
constexpr
actor_id
invalid_actor_id
=
0
;
...
...
@@ -116,7 +116,7 @@ public:
}
/// Returns the unique ID of this actor.
inline
uint32_t
id
()
const
{
inline
actor_id
id
()
const
{
return
id_
;
}
...
...
libcaf_core/caf/fwd.hpp
View file @
8345bfa3
...
...
@@ -89,7 +89,7 @@ struct prohibit_top_level_spawn_marker;
enum
class
atom_value
:
uint64_t
;
// aliases
using
actor_id
=
uint
32
_t
;
using
actor_id
=
uint
64
_t
;
namespace
io
{
...
...
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