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

Function bthread_list_add

src/bthread/bthread.cpp:619–624  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

617}
618
619int bthread_list_add(bthread_list_t* list, bthread_t id) {
620 if (list->impl == NULL) {
621 return EINVAL;
622 }
623 return static_cast<bthread::TidList*>(list->impl)->add(id);
624}
625
626int bthread_list_stop(bthread_list_t* list) {
627 if (list->impl == NULL) {

Callers 2

EchoMethod · 0.85
TESTFunction · 0.85

Calls 1

addMethod · 0.45

Tested by 1

TESTFunction · 0.68