IThreadPool class
#include <nCine/Threading/IThreadPool.h>
Thread pool interface.
Abstract interface for a pool of worker threads that asynchronously execute queued IThreadCommand instances. Implemented by ThreadPool.
Derived classes
- class ThreadPool
- Thread pool.
Constructors, destructors, conversion operators
- ~IThreadPool() pure virtual
Public functions
-
void EnqueueCommand(std::
unique_ptr<IThreadCommand>&& threadCommand) pure virtual - Enqueues a command to be executed by a worker thread.