summaryrefslogtreecommitdiffstats
path: root/uisimulator/sdl/thread-sdl.c
diff options
context:
space:
mode:
authorSteve Bavin <pondlife@pondlife.me>2007-03-30 16:02:42 +0000
committerSteve Bavin <pondlife@pondlife.me>2007-03-30 16:02:42 +0000
commit11fa3a871cf59707fa91c1cedfbb0ee9795c1ac1 (patch)
tree1d9486409f12b7b2ec86262f351c6715f97bc7a9 /uisimulator/sdl/thread-sdl.c
parenta452f73e4415c74745d80a3b85272380661a92ed (diff)
downloadrockbox-11fa3a871cf59707fa91c1cedfbb0ee9795c1ac1.tar.gz
rockbox-11fa3a871cf59707fa91c1cedfbb0ee9795c1ac1.tar.bz2
rockbox-11fa3a871cf59707fa91c1cedfbb0ee9795c1ac1.zip
Implement remove_thread for SDL simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12971 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/sdl/thread-sdl.c')
-rw-r--r--uisimulator/sdl/thread-sdl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/uisimulator/sdl/thread-sdl.c b/uisimulator/sdl/thread-sdl.c
index 809897da01..830e89e45a 100644
--- a/uisimulator/sdl/thread-sdl.c
+++ b/uisimulator/sdl/thread-sdl.c
@@ -93,3 +93,8 @@ void init_threads(void)
exit(-1);
}
}
+
+void remove_thread(struct thread_entry *thread)
+{
+ SDL_KillThread((SDL_Thread*) thread);
+}