Use ## to create sections (Learn more)
Author: Thomas Jarosch <email@example.com>
Date: Mon Feb 28 01:13:03 2011 +0100
Fix hang in sim/SDL app build if sigaltstack is used
This affects trunk as it tries to use sigaltstack by default.
We shouldn't call sim_kernel_shutdown() from the SDL event thread, other
rockbox threads still might need the IRQ mutex which is destroyed in there.
- Don't free the mutex in sim_kernel_shutdown()
if sigaltstack is active. Will be cleaned up by the OS later on.
- Find a better place in the main rockbox code
to call sim_kernel_shutdown(), triggered by
an event from the SDL event thread.
The proper place needs discussion.
diff --git a/firmware/target/hosted/sdl/kernel-sdl.c b/firmware/target/hosted/sdl/kernel-sdl.c
index 4fb1aed..443c57b 100644
@@ -149,10 +149,11 @@ void sim_kernel_shutdown(void)
do_exit = true;
Uint32 tick_timer(Uint32 interval, void *param)
Share the private access URL responsibly.
Anyone will be able to find and view this paste. Google will index it.
All your pastes are belong to us.