ThreadData

Structure responsible for thread in thread pool Stores jobs to be executed by this thread (jobs can be stolen by another thread) Stores cache for logs

Members

Functions

threadStartFunc
void threadStartFunc()

Function starting execution of thread main loop External threads can call this function to start executing jobs

Variables

threadId
int threadId;

Thread id. Valid only for this thread pool

threadPool
ThreadPool* threadPool;

Pool this thread belongs to

Meta