add check for Darwin spin locks