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

Function execute_invoke_vertex

example/use-with-bthread/bthread_graph_executor.cpp:12–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10namespace anyflow {
11
12static void* execute_invoke_vertex(void* args) {
13 auto param =
14 reinterpret_cast<::std::tuple<GraphVertex*, GraphVertexClosure>*>(args);
15 auto vertex = ::std::get<0>(*param);
16 auto& closure = ::std::get<1>(*param);
17 vertex->run(::std::move(closure));
18 delete param;
19 return NULL;
20}
21
22static void* execute_invoke_closure(void* args) {
23 auto param =

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected