|
Monado OpenXR Runtime
|

Data Fields | |
| struct u_worker_thread_pool | base |
| struct os_mutex | mutex |
| Big contenious mutex. More... | |
| struct task | tasks [(64)] |
| Array of tasks. More... | |
| size_t | tasks_in_array_count |
| Number of tasks in array. More... | |
| struct { | |
| size_t count | |
| struct os_cond cond | |
| } | available |
| For worker threads. More... | |
| uint32_t | initial_worker_limit |
| Given at creation. More... | |
| uint32_t | worker_limit |
| Currently the number of works that can work, waiting increases this. More... | |
| size_t | working_count |
| Number of threads working on tasks. More... | |
| size_t | thread_count |
| Number of created threads. More... | |
| struct thread | threads [(16)] |
| The worker threads. More... | |
| bool | running |
| Is the pool up and running? More... | |
| char | prefix [32] |
| Prefix to use for thread names. More... | |
| struct { ... } pool::available |
For worker threads.
Referenced by locked_pool_wake_worker_if_allowed().
| uint32_t pool::initial_worker_limit |
Given at creation.
| struct os_mutex pool::mutex |
Big contenious mutex.
Referenced by vk_cmd_pool::vk_cmd_pool_destroy(), vk_cmd_pool::vk_cmd_pool_lock(), and vk_cmd_pool::vk_cmd_pool_unlock().
| char pool::prefix[32] |
Prefix to use for thread names.
| bool pool::running |
Is the pool up and running?
| struct task pool::tasks[(64)] |
Array of tasks.
| size_t pool::tasks_in_array_count |
Number of tasks in array.
Referenced by locked_pool_wake_worker_if_allowed().
| size_t pool::thread_count |
Number of created threads.
| struct thread pool::threads[(16)] |
The worker threads.
| uint32_t pool::worker_limit |
Currently the number of works that can work, waiting increases this.
Referenced by locked_pool_wake_worker_if_allowed().
| size_t pool::working_count |
Number of threads working on tasks.
Referenced by locked_pool_wake_worker_if_allowed().