native 0.0.1
Vectors, masks and wide register packs for C++26
Loading...
Searching...
No Matches
native::spin Struct Referenceexport

A universally supported x86 spin waiter using PAUSE; monitor is a no-op. More...

Static Public Member Functions

static void monitor (volatile void *) noexcept
 Ignore the address; PAUSE waiting does not arm a hardware monitor.
static void mwait (std::uint32_t=0) noexcept native_blocking
 Issue one PAUSE, ignoring the timer; no sleep duration or memory ordering is promised.

Detailed Description

A universally supported x86 spin waiter using PAUSE; monitor is a no-op.

Definition at line 97 of file native.x86.wait.ccm.


The documentation for this struct was generated from the following file: