FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How difference between Threads and Timer do?
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
How difference between Threads and Timer do?
Posted: Sun Sep 08, 2013 04:06 AM

Dear All,

I would like to know the difference between Threads and Timer. I've used timer but never use Threads. I think the threads will be working every specific interval. What is the good point of each one?

Thank you in advance for any help and idea.

Regards,
Dutch

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: How difference between Threat and Timer do?
Posted: Sun Sep 08, 2013 09:46 AM
Dutch,

dutch wrote:Dear All,

I would like to know the difference between Threat and Timer. I've used timer but never use Threat. I think the threat will be working every specific interval. What is the good point of each one?

Thank you in advance for any help and idea.

Regards,
Dutch


I don't know the internal secrets of threads but in my experience timers and background tasks are faster than threads. The problem with timers and background tasks is that they are inactive in some kind of loop without Sysrefresh() inside them.

EMG

EMG

Continue the discussion