mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Add thread safety note
This commit is contained in:
parent
af469698da
commit
1c6602e35d
@ -114,6 +114,11 @@ static bool input_autoconfigured[MAX_USERS];
|
||||
static unsigned input_device_name_index[MAX_INPUT_DEVICES];
|
||||
static bool input_autoconfigure_swap_override;
|
||||
|
||||
/* TODO/FIXME - Not thread safe to access this
|
||||
* on main thread as well in its current state -
|
||||
* menu_input.c - menu_event calls this function
|
||||
* right now, while the underlying variable can
|
||||
* be modified by a task thread. */
|
||||
bool input_autoconfigure_get_swap_override(void)
|
||||
{
|
||||
return input_autoconfigure_swap_override;
|
||||
|
Loading…
x
Reference in New Issue
Block a user