Monado OpenXR Runtime
Loading...
Searching...
No Matches
xrt::auxiliary::util::SharedThreadGroup Class Reference

Wrapper around u_worker_group, use TaskCollection to dispatch work. More...

#include <util/u_worker.hpp>

Collaboration diagram for xrt::auxiliary::util::SharedThreadGroup:

Public Member Functions

 SharedThreadGroup (SharedThreadPool const &stp)
 
void push (u_worker_group_func_t f, void *data)
 In-general it's recommended to use the TaskCollection helper, but some use cases requires direct access to the push function, so it's provided here.
 
 SharedThreadGroup (SharedThreadGroup const &)=delete
 
 SharedThreadGroup (SharedThreadGroup &&)=delete
 
SharedThreadGroupoperator= (SharedThreadGroup const &)=delete
 
SharedThreadGroupoperator= (SharedThreadGroup &&)=delete
 

Data Fields

friend TaskCollection
 

Detailed Description

Wrapper around u_worker_group, use TaskCollection to dispatch work.

Member Function Documentation

◆ push()

void xrt::auxiliary::util::SharedThreadGroup::push ( u_worker_group_func_t  f,
void *  data 
)
inline

In-general it's recommended to use the TaskCollection helper, but some use cases requires direct access to the push function, so it's provided here.

References u_worker_group_push().


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