Monado OpenXR Runtime
Loading...
Searching...
No Matches
group Struct Reference
Collaboration diagram for group:

Data Fields

struct u_worker_group base
 Base struct has to come first.
 
struct u_worker_thread_pooluwtp
 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.
 

Field Documentation

◆ base

struct u_worker_group group::base

Base struct has to come first.

Referenced by u_worker_group_create(), and u_worker_group_destroy().

◆ current_tasks_in_array

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.

◆ current_working_tasks

uint32_t group::current_working_tasks

Number of tasks that are being worked on.

They live inside of the working thread.

◆ released_count

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().

◆ uwtp

struct u_worker_thread_pool* group::uwtp

◆ [struct]

struct { ... } group::waiting

For wait_all.

Referenced by u_worker_group_create(), and u_worker_group_destroy().


The documentation for this struct was generated from the following file: