| 1232 | } |
| 1233 | |
| 1234 | void enqueue_(task_base* op) const |
| 1235 | { |
| 1236 | if (thread_index_ < pool_.available_parallelism()) |
| 1237 | { |
| 1238 | pool_.enqueue(*queue_, op, thread_index_); |
| 1239 | } |
| 1240 | else |
| 1241 | { |
| 1242 | pool_.enqueue(*queue_, op, constraints_); |
| 1243 | } |
| 1244 | } |
| 1245 | |
| 1246 | _static_thread_pool& pool_; |
| 1247 | remote_queue* queue_; |
nothing calls this directly
no test coverage detected