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
8d277301
Commit
8d277301
authored
Jan 20, 2021
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'topic/neverlord/thread-pool-test'
parents
9e6e8325
2f0c9179
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
libcaf_core/test/detail/private_thread_pool.cpp
libcaf_core/test/detail/private_thread_pool.cpp
+2
-1
No files found.
libcaf_core/test/detail/private_thread_pool.cpp
View file @
8d277301
...
...
@@ -86,9 +86,10 @@ SCENARIO("private threads rerun their resumable when it returns resume_later") {
THEN
(
"t calls resume until f returns something other than resume_later"
)
{
using
namespace
std
::
literals
::
chrono_literals
;
sys
.
release_private_thread
(
t
);
while
(
f
.
runs
!=
2u
)
std
::
this_thread
::
sleep_for
(
1ms
);
while
(
sys
.
detached_actors
()
!=
0
)
std
::
this_thread
::
sleep_for
(
1ms
);
CHECK_EQ
(
f
.
runs
,
2u
);
CHECK_EQ
(
f
.
refs_added
,
0u
);
CHECK_EQ
(
f
.
refs_released
,
1u
);
}
...
...
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