You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1c85b29
Browse filesBrowse the repository at this point in the historyBrowse files
Add mutex-based locking and refactor timer helpers to make GlobalTimer and haxe.Timer safe for multithreaded (cpp) builds. GlobalTimer: introduce __withLock, __nextID, __setTimer and __removeTimer; unify timeout/interval invocation via __invoke; guard timer map and id generation behind a platform-only Mutex. Haxe.Timer: add platform mutex, snapshot timers on tick, require primordial CrossByte runtime (throws IllegalOperationError) and protect timerCount/timers updates with __withLock. Update CI to install crossbyte-libuv via git. Add unit tests for GlobalTimer and haxe.Timer behavior and register them in test runners.
thrownewIllegalOperationError("haxe.Timer requires a primordial CrossByte runtime. Create an Application, HostApplication, ServerApplication, or primordial CrossByte before using global timers.");
0 commit comments