diff options
| author | Zhen Kong <zkong@codeaurora.org> | 2017-11-13 15:13:31 -0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-12-02 08:25:16 -0800 |
| commit | 69fb586ddb1fe33b3570eef5e74e9d4a970937d2 (patch) | |
| tree | 83b3c89159ed2316f390ee09a175a51d5afb9c5d /scripts/docproc.c | |
| parent | 55cbbe687356eeb53256e8f8dc7f7daddae68272 (diff) | |
qseecom: fix a race condition when TA is blocked
When the thread processing blocked TA wakes up when listener
becames available, the listener may be unavailable again before
this thread grabs the global mutex, so make change to add a
while loop to check if listener available after wake up and hold
mutex.
Change-Id: Ib386faca7a44325142da1dc54e19a99f3173ec86
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Diffstat (limited to 'scripts/docproc.c')
0 files changed, 0 insertions, 0 deletions
