MCPcopy Create free account
hub / github.com/baidu/babylon / run_once_bthread

Function run_once_bthread

example/use-execution-queue/example.cpp:27–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25::bvar::LatencyRecorder latency;
26
27void run_once_bthread(int64_t begin) {
28 pending << 1;
29 ::bthread::TaskOptions options;
30 ::bthread::execution_queue_execute(bthread_queue_id, {begin}, &options);
31}
32
33void run_once_babylon(int64_t begin) {
34 pending << 1;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected