Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Several processes in VFP
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00173905
Message ID:
00173942
Views:
44
>Is it possible to run several processes in VFP 5.0 without allowing them to "freeze" each other. For example, I made a simple modeless form with timer, showing current system time. Started 10 copies of a form. All of them were running OK. But when I tried to issue SELECT * command in background, all timers stopped until SELECT wasn't finished.
>
>Sergey Rewa

Sergy,
Timers by nature are disruptive and inconsistent. You could probably get away with one or two clocks running in an app and not notice them interupting other threads, but I wouldn't try to use 10. I would suggest for something like this, keep one clock running independent of your forms. Or, create a timer object and make it public. Then have it check for instances of this form and update those clocks as needed. That can chew up resources also but the less timers the better from my experience.
Previous
Reply
Map
View

Click here to load this message in the networking platform