Use API call instead of accessing a global variable for receiving the current thread.
commit7ee3d3adf53d0c89e998e72f081492b68bb1fc73
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Fri, 16 Apr 2010 22:01:59 +0000 (16 22:01 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Fri, 16 Apr 2010 22:01:59 +0000 (16 22:01 +0000)
tree5122aa3ee6af0984684644f872b1af850b78cc2e
parent217c64cc00024eed1ac88a97f70f642f93b3dbe8
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
firmware/kernel.c
firmware/thread.c
uisimulator/sdl/thread-sdl.c