Ensure invlid-syncs are handled in thread-sync 78/47578/2
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Fri, 4 Sep 2015 16:58:52 +0000 (17:58 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Sat, 5 Sep 2015 09:22:52 +0000 (10:22 +0100)
commitec8be0421da74ea945a7811dc225fdc167c0d2b3
tree959c38e625bf5e972a7a0b2055a259c926855c04
parent5881c5902bba1608b998291b954979dc2c6faf59
Ensure invlid-syncs are handled in thread-sync

We can sometimes get an invalid-sync from the hardware.  We should ensure we do not wake the
update-thread if this is the case.

However, we could be shutting down while getting several invalid vsyncs so we still check that.

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