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
1 file changed
tree: 4885c33486a71f0bde6adba52d15d81bf8c6b440
  1. ipc/
  2. plugins/
  3. service/
  4. snd_parser/
  5. Android.mk
  6. NOTICE
  7. README.md
README.md

agm

Audio Graph Manager