haxiomic / haxe-c-bridge

Easily interact with haxe classes from C with an automatically generated C header
MIT License
51 stars 5 forks source link

isMainThread not working as expected on Windows #35

Closed haxiomic closed 2 years ago

haxiomic commented 2 years ago

Needs exploration

        @:noCompletion
    static public inline function isMainThread(): Bool {
        return inline Thread.current() == Internal.mainThread;
    }

returns true when not on main thread

haxiomic commented 2 years ago

Replaced