Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

iOS: add API to use secondary jxcore thread as main thread #13

Open
enricogior opened this issue Nov 9, 2016 · 2 comments
Open

iOS: add API to use secondary jxcore thread as main thread #13

enricogior opened this issue Nov 9, 2016 · 2 comments
Assignees

Comments

@enricogior
Copy link
Member

enricogior commented Nov 9, 2016

In order to be able to reset the jxcore engine, the main loop has to be executed in a secondary thread, since the main thread and its associated SM engine cannot be reset.

@enricogior
Copy link
Member Author

Running the child engine on the dedicated thread and using it as main instance works on iOS.
In this first implementation, the child engine still uses the jxcore bridge, so it can be used without having to modify the existing apps.

@enricogior
Copy link
Member Author

Ready to be pushed, waiting for the Android counterpart (issue #12)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant