mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
Fix simulation of threads across multiple cores
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10875 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
548e4484c9
commit
9bb3128235
1 changed files with 7 additions and 1 deletions
|
|
@ -58,6 +58,12 @@ int runthread(void *data)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int create_thread_on_core(void (*core)(void), void (*fp)(void), void* sp, int stk_size)
|
||||||
|
{
|
||||||
|
(void)core;
|
||||||
|
return create_thread(fp, sp, stk_size);
|
||||||
|
}
|
||||||
|
|
||||||
int create_thread(void (*fp)(void), void* sp, int stk_size)
|
int create_thread(void (*fp)(void), void* sp, int stk_size)
|
||||||
{
|
{
|
||||||
/** Avoid compiler warnings */
|
/** Avoid compiler warnings */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue