Adde OSSpinlock implementation