Fix hanging on pthread_cond_destroy during cancellation of thread by broadcasting... 89/220889/1 accepted/tizen/unified/20191227.142807 submit/tizen/20191226.105621
authorSeungbae Shin <seungbae.shin@samsung.com>
Tue, 24 Dec 2019 08:55:53 +0000 (17:55 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Tue, 24 Dec 2019 08:55:53 +0000 (17:55 +0900)
commitde10fad2f46b790de00aec1097dfcfec279cfc74
tree291c29b4eb167f1ad4f852b1508934f8594be08a
parenta135047d11aa074b3043d909488e6cb1fafe2841
Fix hanging on pthread_cond_destroy during cancellation of thread by broadcasting before destroy.

References:
  https://stackoverflow.com/questions/44736601/strange-behavior-of-pthread-cond-destroy-hanging
  https://stackoverflow.com/questions/20439404/pthread-conditions-and-process-termination

[Version] 0.0.19
[Issue Type] Bug

Change-Id: I49f2c64d33a39dc01f3018e174ddc891ce664fb5
packaging/capi-media-sound-pool.spec
src/stream_cb_manager.c