ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
Jam.Threading.IWorkerThreadPool.AddWorkItem
Syntax
Pascal
procedure AddWorkItem(const pWorkItem: IWorkItem; pPriority: TPriority = TPriority.Normal); overload;
Parameters 
Description 
const pWorkItem: IWorkItem 
The IWorkItem that should be enqueued for work. 
pPriority: TPriority = TPriority.Normal 
The TPriority with that the work-item will be processed. 

Enqueues a single IWorkItem into this worker threadpool.