Lines Matching refs:mutex
45 std::mutex* list_mutex;
56 std::mutex* mutex; // protects the lifetime of this object and all variables. member
88 ret->list_mutex = new std::mutex; in reactor_new()
151 object->mutex = new std::mutex; in reactor_register()
162 delete object->mutex; in reactor_register()
188 std::lock_guard<std::mutex> lock(*object->mutex); in reactor_change_registration()
211 std::unique_lock<std::mutex> lock(*reactor->list_mutex); in reactor_unregister()
223 obj->mutex->lock(); in reactor_unregister()
224 obj->mutex->unlock(); in reactor_unregister()
225 delete obj->mutex; in reactor_unregister()
241 std::lock_guard<std::mutex> lock(*reactor->list_mutex); in run_reactor()
266 std::unique_lock<std::mutex> lock(*reactor->list_mutex); in run_reactor()
273 std::lock_guard<std::mutex> obj_lock(*object->mutex); in run_reactor()
286 delete object->mutex; in run_reactor()