Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
thallium
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
sds
thallium
Commits
35cbb419
Commit
35cbb419
authored
Aug 06, 2018
by
Matthieu Dorier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed visibility of pool constructor
parent
ff876239
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
11 deletions
+8
-11
include/thallium/pool.hpp
include/thallium/pool.hpp
+8
-11
No files found.
include/thallium/pool.hpp
View file @
35cbb419
...
...
@@ -180,17 +180,6 @@ class pool {
friend
class
task
;
friend
class
thread
;
/**
* @brief Private constructor used to build a pool
* out of an existing handle. m_borrowed is set to
* true so that the underlying handle is not freed
* when the pool object is destroyed.
*
* @param p existing ABT_pool handle. May be null.
*/
explicit
pool
(
ABT_pool
p
)
:
m_pool
(
p
)
{}
static
void
forward_work_unit
(
void
*
fp
)
{
auto
f
=
static_cast
<
std
::
function
<
void
(
void
)
>*>
(
fp
);
(
*
f
)();
...
...
@@ -206,6 +195,14 @@ class pool {
public:
/**
* @brief Constructor used to build a pool out of an existing handle.
*
* @param p existing ABT_pool handle. May be null.
*/
explicit
pool
(
ABT_pool
p
)
:
m_pool
(
p
)
{}
/**
* @brief Default constructor handles a null pool.
*/
...
...
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