509 views
in Embedded Wizard Studio by
In C/C++, we cannot change variables in multiple threads. We will have to have some synchronization mechanism for that. In Chora, is it safe to change same variable in parallelly running multiple timers?

1 Answer

+1 vote
by
 
Best answer
Hello,

please note, that the entire Embedded Wizard GUI application is running in one thread. Furthermore, all expired timers are processed one after the other and the timer events will never interrupt each other. Thus, it is safe to access and change variables in several slot methods that are triggered by different timers.

Best regards,
Manfred.
by
Thank you very much for the quick response

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...