Per-worker state owned until after its std::thread has joined. More...
Data Fields | |
| std::thread | thread |
| size_t | slot_index = 0 |
| unsigned | slot_id = 1 |
| uint64_t | seen_generation = 0 |
| bool | stop = false |
Detailed Description
Per-worker state owned until after its std::thread has joined.
Definition at line 256 of file opencv_parallel.hpp.
Field Documentation
◆ seen_generation
| uint64_t usher_cv_parallel::ThreadPoolBackend::Worker::seen_generation = 0 |
Last batch generation executed by this worker.
Definition at line 260 of file opencv_parallel.hpp.
◆ slot_id
| unsigned usher_cv_parallel::ThreadPoolBackend::Worker::slot_id = 1 |
One-based thread index reported by getThreadNum().
Definition at line 259 of file opencv_parallel.hpp.
◆ slot_index
| size_t usher_cv_parallel::ThreadPoolBackend::Worker::slot_index = 0 |
Zero-based index within workers_.
Definition at line 258 of file opencv_parallel.hpp.
◆ stop
| bool usher_cv_parallel::ThreadPoolBackend::Worker::stop = false |
Set under mutex_ when retiring this worker.
Definition at line 261 of file opencv_parallel.hpp.
◆ thread
| std::thread usher_cv_parallel::ThreadPoolBackend::Worker::thread |
OS thread running worker_loop.
Definition at line 257 of file opencv_parallel.hpp.
The documentation for this struct was generated from the following file: