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

Method SetQueue

core/include/worker_thread.hpp:85–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 }
84
85 void SetQueue(std::queue<T>* task_queue, std::mutex* worker_lock, std::condition_variable* worker_cv)
86 {
87 task_queue_ = task_queue;
88 worker_lock_ = worker_lock;
89 worker_cv_ = worker_cv;
90 }
91
92 void SetCount(const count_func_t& inc_req, const count_func_t& inc_done)
93 {

Callers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected