commit | 88cbe036cb4e33e34a3c52f92d1a362150a6f257 | [log] [tgz] |
---|---|---|
author | Zhou Song <quic_zhous@quicinc.com> | Sun Feb 27 13:45:27 2022 +0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Thu Mar 24 22:15:10 2022 -0700 |
tree | fa839ee40ee99b0c23fd5ba86a2f982c1e593063 | |
parent | 3525a8fa561134978860d035a227a9dee300054a [diff] |
pal: fix race condition between pcm read and ssr handling PCM node can be closed as part of SSR offline handling, and at the same time when pcm read comes, it can access to null pcm node as no stream mutex is held for read. Add stream mutex for read to avoid race condition. Change-Id: I73b633d1ee88a7dad590556e136913c138845eaa