diff options
| author | 2025-01-17 15:35:52 -0800 | |
|---|---|---|
| committer | 2025-01-21 11:23:46 -0800 | |
| commit | 38f9f08494d3f91857d88a598f7d03bd2d1818e2 (patch) | |
| tree | cf2bd573a9b646a48ae224e28df70e10015c3f30 /compiler/optimizing/optimizing_unit_test.h | |
| parent | b30c5a0d84cd03ae465bda61ee41ddaec326b9d5 (diff) | |
AtomicPair needs to occasionally sleep
Otherwise we can get stuck for a long time if a low-priority thread
gets preempted while writing. With enough real-time priority readers,
we could even deadlock.
Bug: 390651377
Test: Treehugger
Change-Id: Iad30095a391b6e67ffe7299d790bd957b7c0c986
Diffstat (limited to 'compiler/optimizing/optimizing_unit_test.h')
0 files changed, 0 insertions, 0 deletions