I am updating a global variable during onBackgroundData, and was wondering if I need to take precautions if onBackgroundData can be called at any time, e.g,. during the middle of an instruction inside onUpdate.
Thanks for any advice,
Michael
I am updating a global variable during onBackgroundData, and was wondering if I need to take precautions if onBackgroundData can be called at any time, e.g,. during the middle of an instruction inside onUpdate.
Thanks for any advice,
Michael
no, in CIQ you only have 1 thread, so onBackgroundData will be called either before or after onUpdate
Brilliant, thanks, that is good to know.