Source Code over Worker Thread Pool

I search a sample source code to learn more about the worker thread pool.
Best in the programming language C#, VisualBasic or Delphi.

Regards,
Samuel


WorkerItem

  Run



WorkerThread

  ThreadID: dword

  QueueItem(WorkerItem)       

  Start

  Stop



WorkerThreadPool

  MaxThreads: long

  GetThread (WorkerThread)

  ReleaseThread (WorkerThread)



WorkerThreadPoolItem

  Count: long

  WorkerThread: WorkerThread

  AddCount

  RemoveCount

The worker thread pool is internally used. It has been specifically designed for the purpose of the library. It is not a designed for generic use and it is only accessible in c++.

Is a c++ sample source code available?

Regards,
Samuel

Unfortunately no.