commit | 6263e881f0d562efb350ce5f9e84c5f33c116377 | [log] [tgz] |
---|---|---|
author | Harold Tan <quic_harotan@quicinc.com> | Wed May 25 17:14:50 2022 -0700 |
committer | Harold Tan <quic_harotan@quicinc.com> | Tue May 31 11:09:51 2022 -0700 |
tree | 72e973ef384b5b22cc76183b8179b8a157635934 | |
parent | dcf0cda6b12897813c195449795859852435c925 [diff] |
agm: add mutex lock for agm_session_register_cb() The current implementation allows different processes to enter the function and manipulate with the data inside; race condition can occur. Adding mutex lock to regard from the beginning to the returns as critical section so as to resolve race condition. Change-Id: Idef15bb2620a8e3516f574594641038e60d8429b