ShellBrowser Delphi Components Documentation
ContentsIndexHome
Jam.Threading Classes
Classes
 
Name 
Description 
 
Rich record that provides an ICancellationToken on demand and requires no initialization. 
 
An static helper for IWorkItems
 
Use this work item to execute an anonymous procedure or method in a parallel way
These work items will be queued into the GlobalThreadPool of ShellBrowser. 
 
Base class that implements the IWorkItem inerface. 
 
Implementation for an ICancellationToken. As type for a class member better use the CancellationToken rich record. 
 
Base class for implementing an ICancellationToken
 
This work item helps to delay the call to a method. The method must not have paramters. The work item adds itself to the global thread pool of ShellBrowser. The metod will be called synchronized.  
 
Base class to implement a future that calculates a result asynchronously. The generic parameter defines the result type. 
 
A TFuture, that allows to add a procedure that will be executed synchronously after the workitem has finished. A second generic parameter can be used to pass an object through to the WorkDone procedure. 
 
Class containing threadsafe functions similar to System.SyncObjs.TInterlocked  
 
Static helper class for IWorkerThreadPool
 
Record that allows to configure a newly created IWorkerThreadPool