Can onBackgroundData be called during onUpdate?

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