This seems to be just a lightweight lock, designed to allow threads to escape the scheduler.
The idea is to replace a relatively heavy context-based operation with a promising time period spent in a spin lock.
Ignore the use of "new", spin-locks as old as the hills. It was, I think, new to this pthread library almost 10 years ago.
"Explicit data deletion" seems to be the same as the context switch, so you can measure this by pointing two CPU yield() threads to each other a million times and measuring the runtime.
source share