utopia-rise / godot-kotlin-jvm

Godot Kotlin JVM Module
MIT License
585 stars 38 forks source link

fix(cpp): implement ScriptLanguage::thread_enter and ScriptLanguage::thread_exit to attach and detach threads to JVM #498

Closed piiertho closed 9 months ago

piiertho commented 11 months ago

This implements ScriptLanguage::thread_enter and ScriptLanguage::thread_exit in KotlinLanguage to attach native threads to JVM according to their lifecycle.
This needs https://github.com/godotengine/godot/pull/82578