atomic int based spin lock & provisional thread shared data interface