Remove Mutex from cpu/hamaji. Use C++11 mutex.