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
5ac04156
Commit
5ac04156
authored
Nov 12, 2014
by
Joseph Noir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up
parent
974e4077
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
libcaf_core/caf/thread.hpp
libcaf_core/caf/thread.hpp
+1
-2
No files found.
libcaf_core/caf/thread.hpp
View file @
5ac04156
...
@@ -54,7 +54,7 @@ namespace {
...
@@ -54,7 +54,7 @@ namespace {
}
}
struct
thread_data
:
ref_counted
{
struct
thread_data
:
ref_counted
{
thread_data
()
:
joining_thread
{
thread_uninitialized
}
{
}
;
thread_data
()
:
joining_thread
{
thread_uninitialized
}
{
}
kernel_pid_t
joining_thread
;
kernel_pid_t
joining_thread
;
char
stack
[
stack_size
];
char
stack
[
stack_size
];
};
};
...
@@ -158,7 +158,6 @@ class thread {
...
@@ -158,7 +158,6 @@ class thread {
:
m_handle
{
t
.
m_handle
},
:
m_handle
{
t
.
m_handle
},
m_data
{
t
.
m_data
}
{
m_data
{
t
.
m_data
}
{
t
.
m_handle
=
thread_uninitialized
;
t
.
m_handle
=
thread_uninitialized
;
//std::swap(m_data, t.m_data);
t
.
m_data
.
reset
();
t
.
m_data
.
reset
();
}
}
thread
&
operator
=
(
const
thread
&
)
=
delete
;
thread
&
operator
=
(
const
thread
&
)
=
delete
;
...
...
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