| 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 | { |
no outgoing calls
no test coverage detected