by devbug · 9y ago · 0 comments
Goes without saying, spinlocks are not useful on uniprocessor machines or single core machines.
Though from what I've read, on Linux, pthreads implements its mutexes in user-space (futex) as well and are fairly cheap to use.