revert ShortLock to pthread_spinlock_t