Lines Matching refs:mutex
45 std::mutex* list_mutex;
56 std::mutex* mutex; // protects the lifetime of this object and all variables. member
89 ret->list_mutex = new std::mutex; in reactor_new()
153 object->mutex = new std::mutex; in reactor_register()
164 delete object->mutex; in reactor_register()
190 std::lock_guard<std::mutex> lock(*object->mutex); in reactor_change_registration()
213 std::unique_lock<std::mutex> lock(*reactor->list_mutex); in reactor_unregister()
225 obj->mutex->lock(); in reactor_unregister()
226 obj->mutex->unlock(); in reactor_unregister()
227 delete obj->mutex; in reactor_unregister()
243 std::lock_guard<std::mutex> lock(*reactor->list_mutex); in run_reactor()
269 std::unique_lock<std::mutex> lock(*reactor->list_mutex); in run_reactor()
276 std::lock_guard<std::mutex> obj_lock(*object->mutex); in run_reactor()
289 delete object->mutex; in run_reactor()