Implemented spin_mutex class for spin locking