diff options
Diffstat (limited to 'uisimulator/sdl')
-rw-r--r-- | uisimulator/sdl/thread-sdl.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/uisimulator/sdl/thread-sdl.c b/uisimulator/sdl/thread-sdl.c index 0ddf37a5a0..041ca3153d 100644 --- a/uisimulator/sdl/thread-sdl.c +++ b/uisimulator/sdl/thread-sdl.c | |||
@@ -58,12 +58,6 @@ int runthread(void *data) | |||
58 | return 0; | 58 | return 0; |
59 | } | 59 | } |
60 | 60 | ||
61 | int create_thread_on_core(void (*core)(void), void (*fp)(void), void* sp, int stk_size) | ||
62 | { | ||
63 | (void)core; | ||
64 | return create_thread(fp, sp, stk_size); | ||
65 | } | ||
66 | |||
67 | int create_thread(void (*fp)(void), void* sp, int stk_size) | 61 | int create_thread(void (*fp)(void), void* sp, int stk_size) |
68 | { | 62 | { |
69 | /** Avoid compiler warnings */ | 63 | /** Avoid compiler warnings */ |
@@ -81,6 +75,12 @@ int create_thread(void (*fp)(void), void* sp, int stk_size) | |||
81 | return 0; | 75 | return 0; |
82 | } | 76 | } |
83 | 77 | ||
78 | int create_thread_on_core(void (*core)(void), void (*fp)(void), void* sp, int stk_size) | ||
79 | { | ||
80 | (void)core; | ||
81 | return create_thread(fp, sp, stk_size); | ||
82 | } | ||
83 | |||
84 | void init_threads(void) | 84 | void init_threads(void) |
85 | { | 85 | { |
86 | m = SDL_CreateMutex(); | 86 | m = SDL_CreateMutex(); |