177 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

Embedded Wizard Website | Privacy Policy | Imprint

...