MCPcopy Create free account
hub / github.com/chen3feng/toft / Task

Method Task

system/threading/thread_pool.cpp:20–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18
19struct ThreadPool::Task {
20 Task(Closure<void()>* cb, const std::function<void ()>& f) :
21 callback(cb), function(f)
22 {
23 }
24 list_node link;
25 Closure<void()>* callback;
26 std::function<void ()> function;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected