Source Code over Worker Thread Pool

This forum is not monitored by the SmartFTP staff. If you have a license please contact technical support by email.
Post Reply
Samuel
Posts: 2
Joined: Sat Jan 16, 2010 8:40 am

Source Code over Worker Thread Pool

Post by Samuel » Sat Jan 16, 2010 8: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

Code: Select all


WorkerItem

  Run



WorkerThread

  ThreadID: dword

  QueueItem(WorkerItem)       

  Start

  Stop



WorkerThreadPool

  MaxThreads: long

  GetThread (WorkerThread)

  ReleaseThread (WorkerThread)



WorkerThreadPoolItem

  Count: long

  WorkerThread: WorkerThread

  AddCount

  RemoveCount

mb
Posts: 12029
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Source Code over Worker Thread Pool

Post by mb » Sat Jan 16, 2010 9: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++.
Last edited by mb on Sat Jan 16, 2010 9:01 am, edited 1 time in total.

Samuel
Posts: 2
Joined: Sat Jan 16, 2010 8:40 am

Re: Source Code over Worker Thread Pool

Post by Samuel » Sun Jan 17, 2010 10:18 am

Is a c++ sample source code available?

Regards,
Samuel

mb
Posts: 12029
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Source Code over Worker Thread Pool

Post by mb » Sun Jan 17, 2010 10:29 am

Unfortunately no.

Post Reply