mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
Switch iPod 3G to use EABI toolchain. Make necessary threading changes to avoid use of stack after switching to idle stack.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26898 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
69028d5d31
commit
2b640ba4b8
5 changed files with 54 additions and 33 deletions
|
|
@ -630,6 +630,11 @@ void remove_thread(unsigned int thread_id)
|
|||
void thread_exit(void)
|
||||
{
|
||||
remove_thread(THREAD_ID_CURRENT);
|
||||
/* This should never and must never be reached - if it is, the
|
||||
* state is corrupted */
|
||||
THREAD_PANICF("thread_exit->K:*R",
|
||||
thread_id_entry(THREAD_ID_CURRENT));
|
||||
while (1);
|
||||
}
|
||||
|
||||
void thread_wait(unsigned int thread_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue