MultiThread Delphi Component v.1.0.2

Advertisement
Advertisement

MultiThread Delphi Component 1.0.2 is considered as a convenient and useful application which is a non visual class that helps creating multiple threads for example for creating a multi threaded thumbnailer or any other task that needs many threads. You specify a max. thread count and simply add work to the class and when the work is ready a callback event is called with the result.Major Features:PropertiesThreadCount:tcAutomatic: Automatically fires at most "number of CPU cores" * 2 threads.tcManual: Manually set the maximum number of threads to fire at a time. Use ThreadCountManual property to set the max. thread count.ThreadCountManual: Only used if tcManual is set. Specify maximum threads to run at the same time.ThreadPriority: The spawned threads priority. Note that the control thread always runs at tpNormal.Active: True if .Start has been called and control thread is running and ready to accept jobs, False otherwise.MethodesStart: Run the control thread and start accepting jobs.Stop: Stop the control thread. No new threads will be run. Already running threads will continue to run.StopAllThreads: Stop all running threads, clear the job (work) list, no new threads will be started. Inside the ThreadWorkerCallback check the thread's .Terminated property to get notified about a thread termination. Also you have to free the Data class if you detect a terminate.EventsThreadMessage: If message is sent from the thread with the thread's SendMessage(Message1, Message2: TObject) function it arrives here.Sender: The TMultiThread class that calls this event.Message1: The class that was sent as Message1.Message2: The class that was sent as Message2.Do not forget to free the classes before exiting this event!ThreadResultsCallback: When a thread finishes it's work this event is called.Sender: The TMultiThread class that calls this event.Data: The Data that was given as the work. Use this class to identify the job.Results: If Results was assigned to a class, you get the assigned Results class here.ThreadWorkerCallback: This is the function that will be runned inside a thread. Be carefull what you do as for example VCL is not accessible here, so do not modify VCL controls inside here. All things that apply for threads in general applies here too.Thread: The thread class the function is called in.Parameters: If you specified a Parameters class for the TMultiThread component you get the Parameters class here.Data: The Data that was given as the work. Use this class to identify the job, type-cast it to your own class implemented.var Results: Is nil by default, create a class and assign it to Results after the work has been done. You will get this class back in ThreadResultsCallback.Requirements:Win32 (9x/ME/2K/XP/Vista/W7)

MultiThread Delphi Component 1.0.2 is ...

 
  • MultiThread Delphi Component
  • 1.0.2
  • 3delite
  • Windows All
  • Shareware
  • 267 Kb
  • 209
  • $25.00
 
 

Review MultiThread Delphi Component

  • captcha
 

Other software of 3delite
  • 3delite's Icon Set  v.1.0250+ high quality artistic 3D Vista resolution icons.
  • 3delite's Icon Set  v.1.0250+ high quality artistic 3D Vista resolution icons. They are fully 32bit with antialiasing and 8bit transparency. The icon dimensions range from: 256x256, 48x48, 32x32, 24x24 and 16x16.

New Components & Libraries software
  • ESSR Player DLL  v.5.1.9- Ability to play media files in the following formats: All media formats supported by ffmpeg (flv avi mov rm ra including the new amazingly fast and advanced rsp format and many many more) ...
  • .Net DLL/WSDL Importer for Delphi  v.6.0.5.0The .Net DLL/WSDL Importer for Delphi is used for importing .net assemblies, WSDL or web service XML schema which generates Delphi classes from the types of the imported assemblies.
  • Dynamsoft Camera SDK  v.6.2Dynamsoft Webcam SDK provides JavaScript APIs that enable you to easily capture images and video streams from USB Video Class (UVC) compatible webcams ...
  • DotConnect for FreshBooks  v.1.7dotConnect for FreshBooks is an ADO.NET provider for working with FreshBooks data through the standard ADO.NET or Entity Framework interfaces.
  • Multitap Delay AU  v.1.0.5Multitap Delay AU 1.0.5 is considered as a professional and useful 4-tap delay plugin in AudioUnit format. Each tap has controls for delay time, pan, feedback and output level. There is also a state-variable filter with saturation in the feedback ...
  • Multitool  v.1.2Multitool is an Illustrator Toolbox plugin with grid, zoom, twists, brush, paint, background, spiral, circular tool plugins for paths, images, symbols and more. Main features: - "Rows and Columns tool": Create a grid of selected paths - "Drag tool": ...