Lines Matching defs:module_rwlock
449 pthread_rwlock_t module_rwlock;
455 thread should have locked agent->module_rwlock for reading before
482 use. A thread should have locked agent->module_rwlock for reading before
2150 if (!module_locked && pthread_rwlock_rdlock (&agent->module_rwlock))
2273 if (!module_locked && pthread_rwlock_unlock (&agent->module_rwlock))
3244 if (pthread_rwlock_init (&agent->module_rwlock, NULL))
3365 if (pthread_rwlock_wrlock (&agent->module_rwlock))
3410 if (pthread_rwlock_unlock (&agent->module_rwlock))
3531 if (pthread_rwlock_wrlock (&agent->module_rwlock))
3550 if (pthread_rwlock_unlock (&agent->module_rwlock))
3602 if (pthread_rwlock_destroy (&agent->module_rwlock))