Skip to content

Commit

Permalink
test/condition_variable_wait_for: Add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
lhmouse committed Oct 22, 2024
1 parent b0084c8 commit 410e14b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/condition_variable_wait_for.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ main(void)
r = cond.wait_for(xlk, NS::chrono::milliseconds(1100));
assert(r == NS::cv_status::timeout);
delta = ::_MCF_perf_counter() - now;
fprintf(stderr, "delta = %.6f\n", delta);
assert(delta >= 1100);
assert(delta <= 1200);

Expand Down

0 comments on commit 410e14b

Please sign in to comment.