diff options
| author | 2015-03-24 19:35:20 +0000 | |
|---|---|---|
| committer | 2015-03-24 19:35:21 +0000 | |
| commit | 2f6fb3d1b779b877ee66d826c8ff57efde830ac6 (patch) | |
| tree | b2781b9d637598d444e0f61672a1dbfbdbf7ed96 | |
| parent | f1bbbbfc2c53a83c8950bab92e08d70a8d67b84a (diff) | |
| parent | bf29ee2a49cfa6e87e535dcb1476ff1336f8bdf9 (diff) | |
Merge "Shave another 10us off of hwuitask"
| -rw-r--r-- | libs/hwui/thread/Signal.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/hwui/thread/Signal.h b/libs/hwui/thread/Signal.h index dcf54498b9f5..d4cfeeb29c17 100644 --- a/libs/hwui/thread/Signal.h +++ b/libs/hwui/thread/Signal.h @@ -30,8 +30,10 @@ public: ~Signal() { } void signal() { - Mutex::Autolock l(mLock); - mSignaled = true; + { + Mutex::Autolock l(mLock); + mSignaled = true; + } mCondition.signal(mType); } |