Quantcast
Are callbacks run in parallel? - WoWInterface
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
09-17-19, 09:30 AM   #1
tirafesi
A Murloc Raider
Join Date: Sep 2019
Posts: 8
Are callbacks run in parallel?

I have an array that I modify in the OnUpdate handler. Somewhere else in the code, I call the method C_Timer.After, altering that same array after N milliseconds.

Here's my question: Will the callback run in parallel with OnUpdate, and thus risking both methods changing the array at the same time? Or does it run sequentially?
  Reply With Quote
 

WoWInterface » Classic - AddOns, Compliations, Macros » Classic - AddOn Help/Support » Are callbacks run in parallel?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off