-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
sdl_pad_handler run sdl_instance::get_instance().initialize() outside of main thread #17229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… of main thread sdl instance init now has it's own lock
|
This overlaps a change in #16849 |
|
Main thread cannot handle the request? maybe the bug is somewhere else. |
Going by the logs, when this happens, If I understand correctly, How would you suggest to untangle this? |
|
For my understanding, m_cb.try_to_quit() is a callback, does the main thread actually calls g_fxo->clear() or g_fxo->reset() inside the callback while waiting? |
|
Test with #17230, perhaps it will fix it. |
|
It's not supposed to be run outside of the main thread. That's the whole deal |
|
Please try the fix from my SDL camera PR |
|
Added extra information to #17227 (comment) , closing this in favor of #17230 #16849 |
sdl instance init now has it's own lock, it might be fine to run it outside of main thread
@gdawg can you check if this causes issues on MacOS? #16487
addresses #17227