class MwaitMonitor
Defined at line 30 of file ../../zircon/kernel/arch/x86/include/arch/x86/mwait_monitor.h
MwaitMonitor is used to perform MWAIT/MONITOR signaling.
This is a thread-safe type.
Public Methods
uint8_t Exchange (uint8_t value)
Atomically replace this monitor's value |value| and return the old value.
Defined at line 33 of file ../../zircon/kernel/arch/x86/include/arch/x86/mwait_monitor.h
void Write (uint8_t value)
Atomically write |value| to this monitor.
Defined at line 36 of file ../../zircon/kernel/arch/x86/include/arch/x86/mwait_monitor.h
uint8_t Read ()
Atomically read the monitor and return its value.
Defined at line 39 of file ../../zircon/kernel/arch/x86/include/arch/x86/mwait_monitor.h
void PrepareForWait ()
Tells the hardware to being watching this monitor. See |x86_enable_ints_and_mwait|.
Defined at line 42 of file ../../zircon/kernel/arch/x86/include/arch/x86/mwait_monitor.h