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
c9cc03be
Commit
c9cc03be
authored
Mar 02, 2015
by
Joseph Noir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix namespace to use new thread and mutex headers
parent
15921791
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
libcaf_core/caf/chrono.hpp
libcaf_core/caf/chrono.hpp
+1
-1
libcaf_core/src/group_manager.cpp
libcaf_core/src/group_manager.cpp
+2
-2
No files found.
libcaf_core/caf/chrono.hpp
View file @
c9cc03be
...
@@ -112,7 +112,7 @@ inline bool operator>=(const time_point& lhs, const time_point& rhs) {
...
@@ -112,7 +112,7 @@ inline bool operator>=(const time_point& lhs, const time_point& rhs) {
namespace
caf
{
namespace
caf
{
using
time_point
=
std
::
chrono
::
high_resolution_clock
::
time_point
;
using
time_point
=
std
::
chrono
::
high_resolution_clock
::
time_point
;
inline
time_point
<
std
::
chrono
::
high_resolution_clock
>
now
(
)
{
inline
auto
now
()
->
decltype
(
time_point
()
)
{
return
std
::
chrono
::
high_resolution_clock
::
now
();
return
std
::
chrono
::
high_resolution_clock
::
now
();
}
}
...
...
libcaf_core/src/group_manager.cpp
View file @
c9cc03be
...
@@ -21,10 +21,10 @@
...
@@ -21,10 +21,10 @@
#include <sstream>
#include <sstream>
#include <stdexcept>
#include <stdexcept>
#include "caf/locks.hpp"
#include "caf/all.hpp"
#include "caf/all.hpp"
#include "caf/group.hpp"
#include "caf/group.hpp"
#include "caf/locks.hpp"
#include "caf/mutex.hpp"
#include "caf/mutex.hpp"
#include "caf/message.hpp"
#include "caf/message.hpp"
#include "caf/to_string.hpp"
#include "caf/to_string.hpp"
...
@@ -429,7 +429,7 @@ void group_manager::stop() {
...
@@ -429,7 +429,7 @@ void group_manager::stop() {
CAF_LOG_TRACE
(
""
);
CAF_LOG_TRACE
(
""
);
modules_map
mm
;
modules_map
mm
;
{
// critical section
{
// critical section
std
::
lock_guard
<
std
::
mutex
>
guard
(
m_mmap_mtx
);
lock_guard
<
mutex
>
guard
(
m_mmap_mtx
);
mm
.
swap
(
m_mmap
);
mm
.
swap
(
m_mmap
);
}
}
for
(
auto
&
kvp
:
mm
)
{
for
(
auto
&
kvp
:
mm
)
{
...
...
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