summaryrefslogtreecommitdiffstats
path: root/src/common/stb.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-10-25cmake: prefer system stb headersAlexandre Bouvier1-5/+3
2023-03-27x64: Add MicroSleepMorph1-0/+10
MicroSleep allows the processor to pause for a "short" amount of time (in the microsecond range). This is useful for spin-waiting that does not require nanosecond precision. This uses the new TPAUSE instruction introduced on Intel's newest processors as part of the waitpkg instructions. For CPUs that do not support waitpkg instructions, this is equivalent to yield(). Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com>