Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
spdlog
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
spdlog
Commits
10578ff0
Unverified
Commit
10578ff0
authored
Sep 21, 2019
by
Gabi Melman
Committed by
GitHub
Sep 21, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update test_mpmc_q.cpp
parent
1f0513cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
test_mpmc_q.cpp
tests/test_mpmc_q.cpp
+2
-3
No files found.
tests/test_mpmc_q.cpp
View file @
10578ff0
...
@@ -29,7 +29,7 @@ TEST_CASE("dequeue-empty-wait", "[mpmc_blocking_q]")
...
@@ -29,7 +29,7 @@ TEST_CASE("dequeue-empty-wait", "[mpmc_blocking_q]")
size_t
q_size
=
100
;
size_t
q_size
=
100
;
milliseconds
wait_ms
(
250
);
milliseconds
wait_ms
(
250
);
milliseconds
tolerance_wait
(
50
);
milliseconds
tolerance_wait
(
2
50
);
spdlog
::
details
::
mpmc_blocking_queue
<
int
>
q
(
q_size
);
spdlog
::
details
::
mpmc_blocking_queue
<
int
>
q
(
q_size
);
int
popped_item
;
int
popped_item
;
...
@@ -104,4 +104,4 @@ TEST_CASE("full_queue", "[mpmc_blocking_q]")
...
@@ -104,4 +104,4 @@ TEST_CASE("full_queue", "[mpmc_blocking_q]")
int
item
=
-
1
;
int
item
=
-
1
;
q
.
dequeue_for
(
item
,
milliseconds
(
0
));
q
.
dequeue_for
(
item
,
milliseconds
(
0
));
REQUIRE
(
item
==
123456
);
REQUIRE
(
item
==
123456
);
}
}
\ No newline at end of file
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