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

Ensure thread can be re-initialized after a fatal exception #2

Closed haxiomic closed 3 years ago

haxiomic commented 3 years ago

When exception is handled, we should be at a point that we can safely run start thread again immediately (including from the exception handler)

haxiomic commented 3 years ago
haxiomic commented 3 years ago
haxiomic commented 3 years ago

Re-initialization disabled because we cannot fully clear static variable state from haxe, so next boot may behave differently (and in practise much of the haxe std library relies on statics)