Use API call instead of accessing a global variable for receiving the current thread.
commit4e77052eea48a16c04fc7e35261c35c5fa4568b4
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
parent1c8c258029f50459307ff33dfb8078eee1369b46
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