ShellBrowser Delphi Components Documentation
IWorkerThreadPool Methods
Jam.Threading.IWorkerThreadPool
Legend
IWorkerThreadPool Methods
Name
Description
procedure AddWorkItem(const pWorkItem: IWorkItem; pPriority: TPriority = TPriority.Normal); overload;
Enqueues a single
IWorkItem
into this worker threadpool.
procedure AddWorkItems(const pWorkItems: TArray<IWorkItem>; pPriority: TPriority = TPriority.Normal);
Enqueues an array of
IWorkItem
s into this worker threadpool.
function ContainsWorkItem(const pInterfaceID: TGUID): Boolean;
Checks if a work item with a certain interface exists in this instance.
procedure Dispose;
Terminates all work in the pool.
Contents
|
Index
|
Home