mirror of https://github.com/xemu-project/xemu.git
ui: Disable UI thread RCU registration
This needs more investigation, as it can cause deadlock. Leave code commented-out for now as a reminder to look into it.
This commit is contained in:
parent
71ee1ca831
commit
8d2ebd6cd8
|
@ -1459,7 +1459,7 @@ int main(int argc, char **argv)
|
|||
* to just run functions to avoid TLS bugs and locking issues.
|
||||
*/
|
||||
tcg_register_init_ctx();
|
||||
rcu_register_thread();
|
||||
// rcu_register_thread();
|
||||
|
||||
DPRINTF("Main thread: initializing app\n");
|
||||
|
||||
|
@ -1467,7 +1467,7 @@ int main(int argc, char **argv)
|
|||
sdl2_gl_refresh(&sdl2_console[0].dcl);
|
||||
}
|
||||
|
||||
rcu_unregister_thread();
|
||||
// rcu_unregister_thread();
|
||||
}
|
||||
|
||||
void xemu_eject_disc(void)
|
||||
|
|
Loading…
Reference in New Issue