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

Function bthread_id_create_ranged

src/bthread/id.cpp:396–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394}
395
396int bthread_id_create_ranged(bthread_id_t* id, void* data,
397 int (*on_error)(bthread_id_t, void*, int),
398 int range) {
399 return bthread::id_create_ranged_impl(
400 id, data,
401 (on_error ? on_error : bthread::default_bthread_id_on_error),
402 NULL, range);
403}
404
405int bthread_id_lock_and_reset_range_verbose(
406 bthread_id_t id, void **pdata, int range, const char *location) {

Callers 1

TESTFunction · 0.85

Calls 1

id_create_ranged_implFunction · 0.85

Tested by 1

TESTFunction · 0.68