MCPcopy Create free account
hub / github.com/bloomberg/quantum / makeTaskWithBlock

Method makeTaskWithBlock

tests/quantum_sequencer_tests.cpp:76–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 }
75
76 std::function<int(VoidContextPtr)> makeTaskWithBlock(TaskId taskId, std::atomic<bool>* blockFlag)
77 {
78 return [this, taskId, blockFlag](VoidContextPtr ctx)->int
79 {
80 taskFunc(ctx, taskId, blockFlag, "");
81 return 0;
82 };
83 }
84
85 std::function<int(VoidContextPtr)> makeTaskWithException(TaskId taskId, std::string error)
86 {

Callers 1

TEST_PFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected