summaryrefslogtreecommitdiff
path: root/firmware/target/hosted/sdl/thread-sdl.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/hosted/sdl/thread-sdl.h')
-rw-r--r--firmware/target/hosted/sdl/thread-sdl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/hosted/sdl/thread-sdl.h b/firmware/target/hosted/sdl/thread-sdl.h
index 9384e6060d..9edb3ee74e 100644
--- a/firmware/target/hosted/sdl/thread-sdl.h
+++ b/firmware/target/hosted/sdl/thread-sdl.h
@@ -22,11 +22,13 @@
22#ifndef __THREADSDL_H__ 22#ifndef __THREADSDL_H__
23#define __THREADSDL_H__ 23#define __THREADSDL_H__
24 24
25#ifdef HAVE_SDL_THREADS
25/* extra thread functions that only apply when running on hosting platforms */ 26/* extra thread functions that only apply when running on hosting platforms */
26void sim_thread_lock(void *me); 27void sim_thread_lock(void *me);
27void * sim_thread_unlock(void); 28void * sim_thread_unlock(void);
28void sim_thread_exception_wait(void); 29void sim_thread_exception_wait(void);
29void sim_thread_shutdown(void); /* Shut down all kernel threads gracefully */ 30void sim_thread_shutdown(void); /* Shut down all kernel threads gracefully */
31#endif
30 32
31#endif /* #ifndef __THREADSDL_H__ */ 33#endif /* #ifndef __THREADSDL_H__ */
32 34