Use mutex for focus index only when it is not for session in mm_sound_client_set_focu... 91/146491/3 accepted/tizen/unified/20170901.201019 submit/tizen/20170901.030803
authorSangchul Lee <sc11.lee@samsung.com>
Tue, 29 Aug 2017 04:56:00 +0000 (13:56 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Thu, 31 Aug 2017 03:11:02 +0000 (12:11 +0900)
commit58ce471e88d2ff0ed94423cf575219bc6ce82abd
tree9ee835e0d9e0702e82659880ae82dc9e44a60ffe
parentf6315a5a8efe5c4c4beddcb35acfd4099219bb52
Use mutex for focus index only when it is not for session in mm_sound_client_set_focus_reacquisition()

Since the muse server which uses this library for multiple handles executes requests from clients serially,
we can skip locking/unlocking the mutex for this case.

[Version] 0.11.21
[Issue Type] Enhancement

Change-Id: Ib90eb2c5f20086c048c7cae52ee9e4037cab265b
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
mm_sound_client.c
packaging/libmm-sound.spec