Skip to content
Commit de8a68e8 authored by Jason Evans's avatar Jason Evans
Browse files

Enhance spin_adaptive() to yield after several iterations.

This avoids worst case behavior if e.g. another thread is preempted
while owning the resource the spinning thread is waiting for.
parent 5f118307
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment