19#ifndef KIS_THREAD_POOL_
20#define KIS_THREAD_POOL_
26#include "kis_thread.h"
40 virtual ~KisThreadPool();
42 static KisThreadPool * instance();
54 KisThreadPool( const KisThreadPool&);
55 KisThreadPool operator=( const KisThreadPool&);
58 int m_numberOfRunningThreads;
59 int m_numberOfQueuedThreads;
62 TQPtrList<KisThread> m_threads;
63 TQPtrList<KisThread> m_runningThreads;
64 TQPtrList<KisThread> m_oldThreads;
66 static KisThreadPool * m_singleton;
KisThread() Create a new KisThread with the canceled state set to false.
|