| 34 | namespace phxsqlproxy { |
| 35 | |
| 36 | GroupStatusCache::GroupStatusCache(PHXSqlProxyConfig * config, WorkerConfig_t * worker_config) : |
| 37 | config_(config), worker_config_(worker_config) { |
| 38 | pthread_rwlock_init(&master_mutex_, NULL); |
| 39 | pthread_rwlock_init(&membership_mutex_, NULL); |
| 40 | } |
| 41 | |
| 42 | GroupStatusCache::~GroupStatusCache() { |
| 43 | pthread_rwlock_destroy(&master_mutex_); |
nothing calls this directly
no outgoing calls
no test coverage detected