|
API Documentation
|
|
|
Symbolizes a thread. Base block to submit off-thread nkTasks::Task in this component.
Definition: Thread.h:12
void cancelPendingTasks()
A task, job that can be submitted to a nkTasks::Thread.
Definition: Task.h:14
A pool with pre-created threads, allowing to queue work asynchronously.
Definition: ThreadPool.h:12
Encompasses all API of component NilkinsTasks.
Definition: LogManager.h:7
Thread * getThread(unsigned int index) const
unsigned int getThreadCount() const
void addTask(nkMemory::UniquePtr< Task > task)
void resizeForThreadCount(unsigned int threadCount)
ThreadPool(unsigned int threadCount=0) noexcept
Encompasses all API of component NilkinsMemory.
Definition: Allocator.h:7