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

Function bthread_mutex_lock_contended

src/bthread/mutex.cpp:1209–1211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1207}
1208
1209int bthread_mutex_lock_contended(bthread_mutex_t* m) {
1210 return bthread::mutex_lock_contended_impl(m, NULL);
1211}
1212
1213static int bthread_mutex_lock_impl(bthread_mutex_t* __restrict m,
1214 const struct timespec* __restrict abstime) {

Callers 2

bthread_cond_waitFunction · 0.85
bthread_cond_timedwaitFunction · 0.85

Calls 1

Tested by

no test coverage detected