Use the ticket spinlock as the spinlock algorithm.