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

Function get_version

src/bthread/id.cpp:166–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166inline uint32_t get_version(bthread_id_t id) {
167 return (uint32_t)(id.value & 0xFFFFFFFFul);
168}
169
170inline bool id_exists_with_true_negatives(bthread_id_t id) {
171 Id* const meta = address_resource(get_slot(id));

Callers 15

id_statusFunction · 0.70
bthread_id_cancelFunction · 0.70
bthread_id_joinFunction · 0.70
bthread_id_trylockFunction · 0.70
bthread_id_unlockFunction · 0.70
print_rq_sizesMethod · 0.70
get_attrMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected