Ensure we don't wait for VSync if we're just resuming 79/46379/2
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Wed, 19 Aug 2015 18:00:31 +0000 (19:00 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Thu, 20 Aug 2015 09:33:01 +0000 (02:33 -0700)
commit5a02b19b17ee3c4fe75bc23037aaced8414c3bc1
tree7b3c91b00641472419dd6c4f006535a8aad102cb
parentb6757d940ec2570c98a51092c60748af7ae4c1f5
Ensure we don't wait for VSync if we're just resuming

[Problem]  Could go into a scenario where we end up waiting for v-sync but haven't actually
           restarted the v-sync thread upon resume.
[Solution] Ensure we do not wait for a v-sync if we're just resuming.
           Also ensure we do not go to sleep if we've just resumed.

Change-Id: I225c78c9c20fee090db0842e40b02336821b75a6
adaptors/base/thread-synchronization.cpp