Added simple spinlock
Updating intrinsics