src/defs.cpp | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/defs.cpp
@@ -104,7 +104,7 @@ // which node might crash inside and cause deadlock. bool CenterInit(bhome_shm::SharedMemory &shm) { Mutex *mutex = shm.Create<Mutex>("shm_center_lock"); Mutex *mutex = shm.FindOrCreate<Mutex>("shm_center_lock"); if (!mutex || !mutex->try_lock()) { return false; }