MCPcopy Create free account
hub / github.com/apache/brpc / make_contention_site_invalid

Function make_contention_site_invalid

src/bthread/mutex.cpp:379–381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377}
378
379void make_contention_site_invalid(bthread_contention_site_t* cs) {
380 cs->sampling_range = 0;
381}
382
383#ifndef NO_PTHREAD_MUTEX_HOOK
384// Replace pthread_mutex_lock and pthread_mutex_unlock:

Callers 6

pthread_mutex_lock_implFunction · 0.85
bthread_mutex_initFunction · 0.85
bthread_mutex_unlockFunction · 0.85
rwlock_unwrlockFunction · 0.85
bthread_rwlock_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected