|
@@ -243,6 +243,7 @@ interface IThreadPool : extends IInterface
|
|
|
virtual PooledThreadHandle startNoBlock(void *param)=0; // starts a new thread if it can do so without blocking, else throws exception
|
|
|
virtual PooledThreadHandle startNoBlock(void *param,const char *name)=0; // starts a new thread if it can do so without blocking, else throws exception
|
|
|
virtual void setStartDelayTracing(unsigned secs) = 0; // set start delay tracing period
|
|
|
+ virtual bool waitAvailable(unsigned timeout) = 0; // wait until a pool member is available
|
|
|
};
|
|
|
|
|
|
extern jlib_decl IThreadPool *createThreadPool(
|