Skip to content

Commit 09bc11d

Browse files
committed
[libc++] remove yield from timed_backoff_policy
1 parent 73a1383 commit 09bc11d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

libcxx/include/__thread/timed_backoff_policy.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ struct __libcpp_timed_backoff_policy {
2929
__libcpp_thread_sleep_for(chrono::milliseconds(8));
3030
else if (__elapsed > chrono::microseconds(64))
3131
__libcpp_thread_sleep_for(__elapsed / 2);
32-
else if (__elapsed > chrono::microseconds(4))
33-
__libcpp_thread_yield();
3432
else {
3533
} // poll
3634
return false;

0 commit comments

Comments
 (0)