summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2015-03-24 12:31:44 -0700
committerJohn Reck <jreck@google.com>2015-03-24 12:31:44 -0700
commitbf29ee2a49cfa6e87e535dcb1476ff1336f8bdf9 (patch)
tree8772d1e3225b5475459442face25454cecd1a2fe /tools/aapt2/java/JavaClassGenerator_test.cpp
parent815f2a093a4b44863fe9ffdb1986a2d5425ffef8 (diff)
Shave another 10us off of hwuitask
pthread_cond_signal does not need the mutex to be held to signal. This results in the thread waking up trying to grab the lock, failing, the signaling thread to wake up, release the lock, immediately get preempted for the signaled thread which can now proceed. Release the mutex before signaling to avoid the ping-pong scheduling issue, which shaves another 10us off of this Change-Id: Ie6bccca031ba6528f357eae8352b74626a6318c7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions