Android: Protect lcd updates with a mutex.
commit312b509d0b2a8a44a6f896968e79c26f67e21d27
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Mon, 13 Dec 2010 02:01:47 +0000 (13 02:01 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Mon, 13 Dec 2010 02:01:47 +0000 (13 02:01 +0000)
tree5e77fa706d896dbcb58fb02a685f94e0b33f1d80
parent363bb6a56f48106ad89d39ad1b2b8c180bc7cd71
Android: Protect lcd updates with a mutex.

The scrolling engine could lock out the main thread which may be waiting for its update to finish (wakeups are not reentrant).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28821 a1c6a512-1295-4272-9138-f99709370657
firmware/target/hosted/android/lcd-android.c