Tachyon (current)  Current Main Branch
Data Fields
rt_threadpool_struct Struct Reference

persistent thread pool More...

#include <threads.h>

Data Fields

int workercount
 number of worker threads More...
 
int * devlist
 per-worker CPU/GPU device IDs More...
 
rt_shared_iterator_t iter
 dynamic work scheduler More...
 
rt_tilestack_t errorstack
 stack of tiles that failed More...
 
rt_thread_tthreads
 worker threads More...
 
rt_threadpool_workerdata_tworkerdata
 per-worker data More...
 
rt_run_barrier_t runbar
 master/worker run barrier More...
 

Detailed Description

persistent thread pool

Definition at line 498 of file threads.h.

Field Documentation

◆ devlist

int* rt_threadpool_struct::devlist

per-worker CPU/GPU device IDs

Definition at line 500 of file threads.h.

Referenced by rt_threadpool_create(), and rt_threadpool_destroy().

◆ errorstack

rt_tilestack_t rt_threadpool_struct::errorstack

stack of tiles that failed

Definition at line 502 of file threads.h.

Referenced by rt_threadpool_create(), and rt_threadpool_destroy().

◆ iter

rt_shared_iterator_t rt_threadpool_struct::iter

dynamic work scheduler

Definition at line 501 of file threads.h.

Referenced by rt_threadpool_create(), rt_threadpool_destroy(), and rt_threadpool_sched_dynamic().

◆ runbar

rt_run_barrier_t rt_threadpool_struct::runbar

master/worker run barrier

Definition at line 505 of file threads.h.

Referenced by rt_threadpool_create(), rt_threadpool_destroy(), rt_threadpool_launch(), rt_threadpool_poll(), and rt_threadpool_wait().

◆ threads

rt_thread_t* rt_threadpool_struct::threads

worker threads

Definition at line 503 of file threads.h.

Referenced by rt_threadpool_create(), and rt_threadpool_destroy().

◆ workercount

int rt_threadpool_struct::workercount

number of worker threads

Definition at line 499 of file threads.h.

Referenced by rt_threadpool_create(), rt_threadpool_destroy(), and rt_threadpool_get_workercount().

◆ workerdata

rt_threadpool_workerdata_t* rt_threadpool_struct::workerdata

per-worker data

Definition at line 504 of file threads.h.

Referenced by rt_threadpool_create(), rt_threadpool_destroy(), and rt_threadpool_launch().


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