Tachyon (current)
Current Main Branch
|
thread-specific handle data for workers More...
#include <threads.h>
Data Fields | |
int | padding1 [8] |
avoid false sharing More... | |
rt_shared_iterator_t * | iter |
dynamic work scheduler More... | |
rt_tilestack_t * | errorstack |
stack of tiles that failed More... | |
int | threadid |
worker thread's id More... | |
int | threadcount |
total number of worker threads More... | |
int | devid |
worker CPU/GPU device ID More... | |
float | devspeed |
speed scaling for this device More... | |
void * | parms |
fctn parms for this worker More... | |
void * | thrpool |
void ptr to thread pool struct More... | |
int | padding2 [8] |
avoid false sharing More... | |
int rt_threadpool_workerdata_struct::devid |
worker CPU/GPU device ID
Definition at line 489 of file threads.h.
Referenced by rt_threadpool_create(), and rt_threadpool_worker_getdevid().
float rt_threadpool_workerdata_struct::devspeed |
speed scaling for this device
Definition at line 490 of file threads.h.
Referenced by rt_threadpool_create(), rt_threadpool_worker_devscaletile(), rt_threadpool_worker_getdevspeed(), and rt_threadpool_worker_setdevspeed().
rt_tilestack_t* rt_threadpool_workerdata_struct::errorstack |
stack of tiles that failed
Definition at line 486 of file threads.h.
Referenced by rt_threadpool_create(), rt_threadpool_next_tile(), and rt_threadpool_tile_failed().
rt_shared_iterator_t* rt_threadpool_workerdata_struct::iter |
dynamic work scheduler
Definition at line 485 of file threads.h.
Referenced by rt_threadpool_create(), rt_threadpool_getfatalerror(), rt_threadpool_next_tile(), and rt_threadpool_setfatalerror().
int rt_threadpool_workerdata_struct::padding1[8] |
int rt_threadpool_workerdata_struct::padding2[8] |
void* rt_threadpool_workerdata_struct::parms |
fctn parms for this worker
Definition at line 491 of file threads.h.
Referenced by rt_threadpool_launch(), and rt_threadpool_worker_getdata().
int rt_threadpool_workerdata_struct::threadcount |
total number of worker threads
Definition at line 488 of file threads.h.
Referenced by rt_threadpool_create(), and rt_threadpool_worker_getid().
int rt_threadpool_workerdata_struct::threadid |
worker thread's id
Definition at line 487 of file threads.h.
Referenced by rt_threadpool_create(), and rt_threadpool_worker_getid().
void* rt_threadpool_workerdata_struct::thrpool |
void ptr to thread pool struct
Definition at line 492 of file threads.h.
Referenced by rt_threadpool_create().