mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Use API call instead of accessing a global variable for receiving the current thread.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25657 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
da018391e0
commit
d9af87c40b
3 changed files with 12 additions and 15 deletions
|
@ -119,7 +119,7 @@
|
|||
/* Cast to the the machine pointer size, whose size could be < 4 or > 32
|
||||
* (someday :). */
|
||||
#define DEADBEEF ((uintptr_t)0xdeadbeefdeadbeefull)
|
||||
struct core_entry cores[NUM_CORES] IBSS_ATTR;
|
||||
static struct core_entry cores[NUM_CORES] IBSS_ATTR;
|
||||
struct thread_entry threads[MAXTHREADS] IBSS_ATTR;
|
||||
|
||||
static const char main_thread_name[] = "main";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue