ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
Jam.Threading.IWorkerThreadPool.ContainsWorkItem
Syntax
Pascal
function ContainsWorkItem(const pInterfaceID: TGUID): Boolean;
Parameters 
Description 
const pInterfaceID: TGUID 
The interface for that should be looked in th threadpool, e.g. INonInterruptable

Returns True if any workitem exists in the queue or is processed by the worker threads that implements the given interface; False otherwise.

Checks if a work item with a certain interface exists in this instance.