Recent

Author Topic: [SOLVED] Suggestion Required?  (Read 2030 times)

Deepaak

  • Sr. Member
  • ****
  • Posts: 454
[SOLVED] Suggestion Required?
« on: October 21, 2013, 06:23:11 am »
Hi to all,
I am going to implement Threading in my application, where my application has to process lots of file and display in the status and progress indicator using progressbar and after completing show a detailed logs to the end user. I had found two methods in lazarus/freepascal. Firstly TThread and BeginThread.

I tried both examples, and ran the demo test. Please suggest which will be a  nice shot for such a task, any difference between these two (TThread is class based).

eagerly waiting for all responses.
« Last Edit: October 21, 2013, 08:44:30 pm by deepaak99 »
Holiday season is online now. :-)

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12568
  • FPC developer.
Re: Suggestion Required?
« Reply #1 on: October 21, 2013, 10:29:42 am »
Use TThread, it is portable and doesn't have significant downsides.

Deepaak

  • Sr. Member
  • ****
  • Posts: 454
Re: Suggestion Required?
« Reply #2 on: October 21, 2013, 11:07:53 am »
Use TThread, it is portable and doesn't have significant downsides.

Thank you, I too was thinking to go with TThread, but was not able to make my mind.
Holiday season is online now. :-)

 

TinyPortal © 2005-2018