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

Function bthread_id_create

src/bthread/id.cpp:388–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

386extern "C" {
387
388int bthread_id_create(
389 bthread_id_t* id, void* data,
390 int (*on_error)(bthread_id_t, void*, int)) {
391 return bthread::id_create_impl(
392 id, data,
393 (on_error ? on_error : bthread::default_bthread_id_on_error), NULL);
394}
395
396int bthread_id_create_ranged(bthread_id_t* id, void* data,
397 int (*on_error)(bthread_id_t, void*, int),

Callers 15

FailedWriterFunction · 0.85
TESTFunction · 0.85
TEST_FFunction · 0.85
WaitMethod · 0.85
NotifyOnCancelMethod · 0.85
NotifyOnStoppedMethod · 0.85
DestroyStreamCreatorMethod · 0.85
OnCreatedMethod · 0.85
WaitAndResetMethod · 0.85
~HttpResponseSenderMethod · 0.85
SendSofaResponseFunction · 0.85
RunMethod · 0.85

Calls 1

id_create_implFunction · 0.85

Tested by 3

FailedWriterFunction · 0.68
TESTFunction · 0.68
TEST_FFunction · 0.68