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

Method Activate

core/include/worker_thread.hpp:116–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 }
115
116 void Activate(int dispatch_cpu)
117 {
118 dispatch_cpu_=dispatch_cpu;
119 active_count_++;
120
121 std::unique_lock<std::mutex> cv_lock(*worker_lock_);
122 active_cv_.notify_one();
123 }
124
125 void Deactivate(void)
126 {

Callers 4

LaunchMasterMethod · 0.80
ActivateWorkerMethod · 0.80
InitMethod · 0.80
LaunchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected