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

Function check_nosignal

src/bthread/butex.cpp:288–290  ·  view source on GitHub ↗

nosignal is true & tag is same can return true

Source from the content-addressed store, hash-verified

286
287// nosignal is true & tag is same can return true
288inline bool check_nosignal(bool nosignal, bthread_tag_t tag) {
289 return nosignal && is_same_tag(tag);
290}
291
292// if tag is same return tls_task_group else choose one group with tag
293inline TaskGroup* get_task_group(TaskControl* c, bthread_tag_t tag) {

Callers 2

butex_wakeFunction · 0.85
butex_wake_nFunction · 0.85

Calls 1

is_same_tagFunction · 0.85

Tested by

no test coverage detected