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

Function do_timedrdlock

test/bthread_rwlock_unittest.cpp:87–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void* do_timedrdlock(void *arg) {
88 struct timespec t = { -2, 0 };
89 EXPECT_EQ(ETIMEDOUT, bthread_rwlock_timedrdlock((bthread_rwlock_t*)arg, &t));
90 return NULL;
91}
92
93void* do_timedwrlock(void *arg) {
94 struct timespec t = { -2, 0 };

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected