commit | 6fac8fcc93fa1fc8a6f288f57258f1c8443cf9db | [log] [tgz] |
---|---|---|
author | Michael Sevakis <jethead71@rockbox.org> | Sun Oct 21 19:10:03 2007 +0000 |
committer | Michael Sevakis <jethead71@rockbox.org> | Sun Oct 21 19:10:03 2007 +0000 |
tree | 2644e1ca78bec0c345d790d23c1c93ebcd709558 | |
parent | d4f382252d01102d997281a1f2cb58ffd6b33f97 [diff] |
Be sure to register a new mutex owner _before_ waking it. Won't be an issue now but would be with mutex recursion on one used for > 1 core where ownership transfer and cs entry/recursion are allowed to run in parallel (by design). TODO: Add true exchange to wakeup_thread but that's not really important for the time being. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15251 a1c6a512-1295-4272-9138-f99709370657