SMT_PAUSE(3C) Standard C Library Functions SMT_PAUSE(3C)
- hardware-aware busy wait
SYNOPSIS #include <synch.h> void smt_pause
() function performs a busy-wait for an implementation defined
period of time. On hardware platforms that support it, it notifies the
hardware that this is occurring in an effort to minimize resource usage.
This is commonly used in the implementation of spin loops.
INTERFACE STABILITY CommittedMT-LEVEL MT-Safe
SEE ALSO attributes(7)
OmniOS December 22, 2014 OmniOS