krita
KisThreadPool Class Reference
#include <kis_thread_pool.h>
Inheritance diagram for KisThreadPool:

Detailed Description
A thread pool starts executing threads some time after they are added, running a maximum number of threads at one time.The pool takes ownership of the threads and _deletes_ them once they have run. This means that you cannot add getters for important data to threads you feed the threadpool. Instead, post the data using a customevent.
Definition at line 36 of file kis_thread_pool.h.
Public Member Functions | |
virtual | ~KisThreadPool () |
void | enqueue (KisThread *thread) |
void | dequeue (KisThread *thread) |
void | run () |
KisThreadPool () | |
Static Public Member Functions | |
static KisThreadPool * | instance () |
The documentation for this class was generated from the following files: