MCPcopy Create free account
hub / github.com/OAID/Tengine / LaunchWorker

Method LaunchWorker

core/include/worker_thread.hpp:109–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107 }
108
109 bool LaunchWorker(bool master_cpu=false)
110 {
111 auto func = std::bind(&WorkerThread::DoWork, this,master_cpu);
112 worker_ = new std::thread(func);
113 return true;
114 }
115
116 void Activate(int dispatch_cpu)
117 {

Callers 4

LaunchMasterMethod · 0.80
LaunchAiderMethod · 0.80
InitMethod · 0.80
LaunchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected