Switched to hpx::spinlock from std::mutex