|
Monado OpenXR Runtime
|

Data Fields | ||
| struct u_worker_group | base | |
| Base struct has to come first. | ||
| struct u_worker_thread_pool * | uwtp | |
| Pointer to poll of threads. | ||
| uint32_t | current_tasks_in_array | |
| The number of tasks that are pending execution by a worker. | ||
| uint32_t | current_working_tasks | |
| Number of tasks that are being worked on. | ||
| size_t | released_count | |
| Number of waiting threads that have been released by a worker, or a thread that has started waiting (see u_worker_group_wait_all). | ||
| struct { | ||
| size_t count | ||
| struct os_cond cond | ||
| } | waiting | |
| For wait_all. | ||
| struct u_worker_group group::base |
Base struct has to come first.
Referenced by u_worker_group_create(), and u_worker_group_destroy().
| uint32_t group::current_tasks_in_array |
The number of tasks that are pending execution by a worker.
They reside in the pool::tasks array.
| uint32_t group::current_working_tasks |
Number of tasks that are being worked on.
They live inside of the working thread.
| size_t group::released_count |
Number of waiting threads that have been released by a worker, or a thread that has started waiting (see u_worker_group_wait_all).
Referenced by u_worker_group_wait_all().
| struct u_worker_thread_pool* group::uwtp |
Pointer to poll of threads.
Referenced by u_worker_group_create(), u_worker_group_destroy(), u_worker_group_push(), and u_worker_group_wait_all().
| struct { ... } group::waiting |
For wait_all.
Referenced by u_worker_group_create(), and u_worker_group_destroy().