Jump to content


Photo

Source Code over Worker Thread Pool


  • Please log in to reply
3 replies to this topic

#1 Samuel

Samuel
  • Members
  • 2 posts

Posted 16 January 2010 - 08:57 AM

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


#2 mb

mb

    Developer

  • Administrators
  • 11528 posts
  • Gender:
    Male
  • Location:
    Worldwide

Posted 16 January 2010 - 09:00 AM

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++.

#3 Samuel

Samuel
  • Members
  • 2 posts

Posted 17 January 2010 - 10:18 AM

Is a c++ sample source code available?

Regards,
Samuel

#4 mb

mb

    Developer

  • Administrators
  • 11528 posts
  • Gender:
    Male
  • Location:
    Worldwide

Posted 17 January 2010 - 10:29 AM

Unfortunately no.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users