Skip to content
GitLab
Explore
Sign in
Register
Alex D
GHC
Repository
ghc
includes
stg
SMP.h
Find file
Blame
History
Permalink
Use "rep; nop" inside a spin-lock loop on x86/x86-64
· 0ee6cfbe
Simon Marlow
authored
Sep 29, 2009
This helps on a hyperthreaded CPU by yielding to the other thread in a spinlock loop.
0ee6cfbe