Lines Matching defs:module_rwlock
441 pthread_rwlock_t module_rwlock;
447 thread should have locked agent->module_rwlock for reading before
474 use. A thread should have locked agent->module_rwlock for reading before
2306 if (!module_locked && pthread_rwlock_rdlock (&agent->module_rwlock))
2430 if (!module_locked && pthread_rwlock_unlock (&agent->module_rwlock))
3383 if (pthread_rwlock_init (&agent->module_rwlock, NULL))
3511 if (pthread_rwlock_wrlock (&agent->module_rwlock))
3557 if (pthread_rwlock_unlock (&agent->module_rwlock))
3787 if (pthread_rwlock_wrlock (&agent->module_rwlock))
3806 if (pthread_rwlock_unlock (&agent->module_rwlock))
3858 if (pthread_rwlock_destroy (&agent->module_rwlock))