summaryrefslogtreecommitdiff
path: root/apps/keymaps
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2006-12-21 02:33:01 +0000
committerMichael Sevakis <jethead71@rockbox.org>2006-12-21 02:33:01 +0000
commitd19ca324fcd8df0d62d1f7e8ee2b16c9bdbef0e8 (patch)
tree67c5394f5e63303ed3190607e4bb581958ce4681 /apps/keymaps
parentbb0358647d68e989d065ea70d95746fd2b6f4cad (diff)
downloadrockbox-d19ca324fcd8df0d62d1f7e8ee2b16c9bdbef0e8.tar.gz
rockbox-d19ca324fcd8df0d62d1f7e8ee2b16c9bdbef0e8.zip
Lil' tweak to plugins using remove_thread. Just use remove_thread(NULL) to have a thread remove itself. No subsequent yield() is needed either. Small Note: in current scheduler implementation it safe to call remove_thread IFF 1) thread removes itself 2) its state is known to be running (1 implies 2) as any objects with the waiting removed thread will be corrupted (m->thread, q->thread no longer valid or no longer same object if recycled, etc.).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11826 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/keymaps')
0 files changed, 0 insertions, 0 deletions