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

Function bthread_stopped

src/bthread/bthread.cpp:380–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

378}
379
380int bthread_stopped(bthread_t tid) {
381 return (int)bthread::TaskGroup::is_stopped(tid);
382}
383
384bthread_t bthread_self(void) {
385 bthread::TaskGroup* g = bthread::tls_task_group;

Callers 6

produce_funcFunction · 0.85
consume_funcFunction · 0.85
SendDataMethod · 0.85
RunNamingServiceMethod · 0.85
PeriodicRenewMethod · 0.85
RunNamingServiceMethod · 0.85

Calls

no outgoing calls

Tested by 3

produce_funcFunction · 0.68
consume_funcFunction · 0.68
SendDataMethod · 0.68