jubilant-funicular
Public Attributes | List of all members
nta::utils::ThreadPool::worker Struct Reference

One thread available to the pool. More...

Collaboration diagram for nta::utils::ThreadPool::worker:
Collaboration graph
[legend]

Public Attributes

std::thread t
 The thread owned by the worker.
 
Thunk thunk
 The function the worker is currently scheduled to execute.
 
std::atomic< bool > free
 Whether or not the worker is free to take on a new function.
 
Semaphore task
 

Detailed Description

One thread available to the pool.

Definition at line 39 of file ThreadPool.h.


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