summaryrefslogtreecommitdiffstats
path: root/uisimulator/common/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/common/io.c')
-rw-r--r--uisimulator/common/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/uisimulator/common/io.c b/uisimulator/common/io.c
index cddb19c9a8..bdcc7e6ca1 100644
--- a/uisimulator/common/io.c
+++ b/uisimulator/common/io.c
@@ -233,7 +233,7 @@ static ssize_t io_trigger_and_wait(int cmd)
{
/* Allow other rockbox threads to run */
io.accum = 0;
- mythread = thread_sdl_thread_unlock();
+ mythread = sim_thread_unlock();
}
switch (cmd)
@@ -249,7 +249,7 @@ static ssize_t io_trigger_and_wait(int cmd)
/* Regain our status as current */
if (mythread != NULL)
{
- thread_sdl_thread_lock(mythread);
+ sim_thread_lock(mythread);
}
return result;