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

thread-specific handle data for workers More...

#include <threads.h>

Data Fields

int padding1 [8]
 avoid false sharing More...
 
rt_shared_iterator_titer
 dynamic work scheduler More...
 
rt_tilestack_terrorstack
 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...
 

Detailed Description

thread-specific handle data for workers

Definition at line 483 of file threads.h.

Field Documentation

◆ devid

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

◆ devspeed

float rt_threadpool_workerdata_struct::devspeed

◆ errorstack

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

◆ iter

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

◆ padding1

int rt_threadpool_workerdata_struct::padding1[8]

avoid false sharing

Definition at line 484 of file threads.h.

◆ padding2

int rt_threadpool_workerdata_struct::padding2[8]

avoid false sharing

Definition at line 493 of file threads.h.

◆ parms

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

◆ threadcount

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

◆ threadid

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

◆ thrpool

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


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