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

What thread are callbacks run on? #50

Closed singpolyma closed 6 months ago

singpolyma commented 1 year ago

If I take in a cpp.Callable as an argument, then call it from haxe side, does it run on the haxe thread?

haxiomic commented 1 year ago

It runs on the haxe thread