summaryrefslogtreecommitdiff
path: root/identity/support/src/cppbor_parse.cpp
diff options
context:
space:
mode:
authorPatrick Rohr <prohr@google.com>2021-11-05 10:24:47 +0100
committerPatrick Rohr <prohr@google.com>2021-11-08 14:41:00 +0000
commit7ddf1046ccf348084f6c67c45e89c2b2dc3015be (patch)
tree843155cfc1d5253ab8fd25c1e6f0a2fdc177395f /identity/support/src/cppbor_parse.cpp
parentd22db0a7651245b8dd82a912fb769478e219953d (diff)
clean up notification of FilterCallbackScheduler when stopping
I am adding two minor tweaks to change I2b9d45fa7df3f2490893cc24d98c0e0baaaf0c2c which notifies the condition variable when trying to join the thread: 1. the mutex lock does not need to be held to notify the condition variable. 2. adding isRunning check to existing if condition in threadLoopOnce to condense the code. Bug: 183057734 Test: atest android.media.tv.tuner.cts Change-Id: Ia35e645bddd5005218e8e017a22b87b349997658
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions