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

Function bthread_mutexattr_init

src/bthread/mutex.cpp:1281–1284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1279}
1280
1281int bthread_mutexattr_init(bthread_mutexattr_t* attr) {
1282 attr->enable_csite = true;
1283 return 0;
1284}
1285
1286int bthread_mutexattr_disable_csite(bthread_mutexattr_t* attr) {
1287 attr->enable_csite = false;

Callers 1

bthread_rwlock_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected