IThreadPool
Overview
The IThreadPool interface represents a pool of threads that can be used to execute tasks asynchronously, process network I/O etc. Such pools are used, for example, by SuperHttp and SuperTcp server channels to handle client communications.
Location
- Reference: RemObjects.SDK.dll
- Namespace: RemObjects.SDK
- Ancestry: IDisposable | IThreadPool
Required Methods
QueueItem
Enqueues the provided worker method for execution. This method will be exceuted once one of the pool threads will become available.
method QueueItem(callback: ThreadPoolCallback)
void QueueItem(ThreadPoolCallback callback)
Sub QueueItem(callback As ThreadPoolCallback)
Parameters:
- callback: Worker method to be executed by one of the pooled threads
- SuperHttpServer
- SuperTcpServerChannel
- ThreadPool