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

Function bthread_id_create2_ranged

src/bthread/id.cpp:700–707  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

698}
699
700int bthread_id_create2_ranged(
701 bthread_id_t* id, void* data,
702 int (*on_error)(bthread_id_t, void*, int, const std::string&),
703 int range) {
704 return bthread::id_create_ranged_impl(
705 id, data, NULL,
706 (on_error ? on_error : bthread::default_bthread_id_on_error2), range);
707}
708
709int bthread_id_error2_verbose(bthread_id_t id, int error_code,
710 const std::string& error_text,

Callers

nothing calls this directly

Calls 1

id_create_ranged_implFunction · 0.85

Tested by

no test coverage detected