Skip to content

Commit 955f974

Browse files
committed
no yield
1 parent 380e263 commit 955f974

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/lost_wakeup.pass.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ int main(int, char**) {
4949
<< run << " notify iteration " << i << std::endl;
5050

5151
while (waiter_ready.load() < num_waiters) {
52-
std::this_thread::yield();
5352
}
5453
waiter_ready.store(0);
5554
state.fetch_add(1);

0 commit comments

Comments
 (0)