aboutsummaryrefslogtreecommitdiff
path: root/graphics/maccursor.h
diff options
context:
space:
mode:
authorJoel Teichroeb2014-01-27 18:29:00 -0800
committerJoel Teichroeb2014-01-27 18:29:00 -0800
commit2d903d966875bb2bc665cd33d3514fb6b2dcf7f5 (patch)
tree104e58d60f6e5d0d53772d87006f5df1d27176cc /graphics/maccursor.h
parent07568931cef05d609e4a2335593fb9ed53ecee57 (diff)
downloadscummvm-rg350-2d903d966875bb2bc665cd33d3514fb6b2dcf7f5.tar.gz
scummvm-rg350-2d903d966875bb2bc665cd33d3514fb6b2dcf7f5.tar.bz2
scummvm-rg350-2d903d966875bb2bc665cd33d3514fb6b2dcf7f5.zip
ANDROID: Fix a race condition
setSurface is done in a different thread than the one that starts the scummvm main. The main thread would then wait until the setSurface thread notifies. The setSurface thread would notify before it actually calls setSurface, meaning if the thread is preemted before calling setSurface, initSurface will assert, causing the app to crash.
Diffstat (limited to 'graphics/maccursor.h')
0 files changed, 0 insertions, 0 deletions