MCPcopy Create free account
hub / github.com/apache/brpc / ~CachedReader

Method ~CachedReader

src/bvar/default_variables.cpp:141–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139 CHECK_EQ(0, pthread_mutex_init(&_mutex, NULL));
140 }
141 ~CachedReader() {
142 pthread_mutex_destroy(&_mutex);
143 }
144
145 // NOTE: may return a volatile value that may be overwritten at any time.
146 // This is acceptable right now. Both 32-bit and 64-bit numbers are atomic

Callers

nothing calls this directly

Calls 1

pthread_mutex_destroyFunction · 0.85

Tested by

no test coverage detected