Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timers
Message
From
18/08/2011 17:10:39
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Timers
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01521261
Message ID:
01521282
Views:
71
>>Great question and I look forward to the answer from the wise ones.
>>
>>My guess is that since VFP is not multi-threaded, a timer has to wait for a break. If that is not the case then it seems you could simulate multi-threading by instantiating multiple timer objects with different tasks.
>
>Just ran a simple test. Yes, a timer has to wait for a break.

Were you using a loop to keep VFP "busy" while a timer tried to fire? If so, if you include DOEVENTS in the loop, do you notice any difference?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform