summaryrefslogtreecommitdiff
path: root/firmware/thread.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-04-16 22:01:59 +0000
committerThomas Martitz <kugel@rockbox.org>2010-04-16 22:01:59 +0000
commitd9af87c40b3a613a7a2a312d4529e566d0565a2c (patch)
tree5122aa3ee6af0984684644f872b1af850b78cc2e /firmware/thread.c
parentda018391e0b7756eba9655384e9cf3683d133361 (diff)
downloadrockbox-d9af87c40b3a613a7a2a312d4529e566d0565a2c.tar.gz
rockbox-d9af87c40b3a613a7a2a312d4529e566d0565a2c.zip
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
Diffstat (limited to 'firmware/thread.c')
-rw-r--r--firmware/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/thread.c b/firmware/thread.c
index 81ef42a6b0..7c2cfb23e9 100644
--- a/firmware/thread.c
+++ b/firmware/thread.c
@@ -119,7 +119,7 @@
119/* Cast to the the machine pointer size, whose size could be < 4 or > 32 119/* Cast to the the machine pointer size, whose size could be < 4 or > 32
120 * (someday :). */ 120 * (someday :). */
121#define DEADBEEF ((uintptr_t)0xdeadbeefdeadbeefull) 121#define DEADBEEF ((uintptr_t)0xdeadbeefdeadbeefull)
122struct core_entry cores[NUM_CORES] IBSS_ATTR; 122static struct core_entry cores[NUM_CORES] IBSS_ATTR;
123struct thread_entry threads[MAXTHREADS] IBSS_ATTR; 123struct thread_entry threads[MAXTHREADS] IBSS_ATTR;
124 124
125static const char main_thread_name[] = "main"; 125static const char main_thread_name[] = "main";