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: 72e973ef384b5b22cc76183b8179b8a157635934
  1. ipc/
  2. plugins/
  3. service/
  4. snd_parser/
  5. Android.mk
  6. NOTICE
  7. README.md
README.md

agm

Audio Graph Manager