Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
Trigger Threading
Trigger Threading
01-09-2008, 07:15 PM
#1
EnderA
I'm wondering if triggers are potentially executed in parallel (as opposed to in series) - other than during waits, of course. Obviously this would be a source (and explanation) of rarely occurring bugs in seemingly flawless code.
01-09-2008, 07:41 PM
#2
Captain Griffen
They occur in series. Parallel threads of JASS never occur.
01-09-2008, 08:36 PM
#3
DioD
main rule of JASS "Single thread at single time"
wait broke thread and after given time returns to it, mass waits will cause HURGE lag.
01-09-2008, 08:44 PM
#4
xombie
Its slower (I'm pretty sure) but it lets you do some nice things.