Issues instruction to have the CPU wait, this is less busy (bus traffic etc) than just spinning. For example: while (1); should be: while (1) CpuWait();
| 35 | /// should be: |
| 36 | /// while (1) CpuWait(); |
| 37 | static ALWAYS_INLINE void CpuWait() { |
| 38 | base::subtle::PauseCPU(); |
| 39 | } |
| 40 | |
| 41 | /// Provides "barrier" semantics (see below) without a memory access. |
| 42 | static ALWAYS_INLINE void MemoryBarrier() { |
nothing calls this directly
no test coverage detected