Lines Matching refs:lock
54 pthread_mutex_t lock; // protects the lifetime of this object and all variables. member
147 pthread_mutex_init(&object->lock, NULL); in reactor_register()
159 pthread_mutex_destroy(&object->lock); in reactor_register()
185 pthread_mutex_lock(&object->lock); in reactor_change_registration()
188 pthread_mutex_unlock(&object->lock); in reactor_change_registration()
218 pthread_mutex_lock(&obj->lock); in reactor_unregister()
219 pthread_mutex_unlock(&obj->lock); in reactor_unregister()
220 pthread_mutex_destroy(&obj->lock); in reactor_unregister()
267 pthread_mutex_lock(&object->lock); in run_reactor()
275 pthread_mutex_unlock(&object->lock); in run_reactor()
278 pthread_mutex_destroy(&object->lock); in run_reactor()