Add to lock/unlock focus Id mutex 77/158977/1
authorSangchul Lee <sc11.lee@samsung.com>
Thu, 2 Nov 2017 05:48:38 +0000 (14:48 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Mon, 6 Nov 2017 07:52:35 +0000 (07:52 +0000)
commit0ccb20925e6e9de1d10623f1ea3bcd05bf9c399c
tree5017c104297dbee9a87890636c48c4baf0ce428e
parent87e0ac3d1d6d575d932d062a524fbcbe4c8c7536
Add to lock/unlock focus Id mutex

There are cases that focus or focus watch callback is used internally
for session backward compatibility. Because there has not been any mutex for
focus id, sometimes an unintended error happens accessed from another thread.
Now, a mutex for the focus id is added and operated to secure the critical section.

[Version] 0.4.3
[Issue Type] Bug fix

Change-Id: Ib4c721f49e80417a6b92e19e1bf61c81148bb1d4
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
include/CAudioSessionHandler.h
packaging/capi-media-audio-io.spec
src/cpp/CAudioSessionHandler.cpp