diff options
author | Sunita Nadampalli | 2013-09-26 16:26:59 -0500 |
---|---|---|
committer | Sunita Nadampalli | 2013-09-26 16:26:59 -0500 |
commit | ffb5c1de22eefd33ec0694c5590eb6fb50bd1771 (patch) | |
tree | 969befa5ddf3228a430d161e704292c32eba3923 /configure.ac | |
parent | 4f74566a123093d4454c1d969ce340b33552e78b (diff) | |
download | repo-libdce-ffb5c1de22eefd33ec0694c5590eb6fb50bd1771.tar.gz repo-libdce-ffb5c1de22eefd33ec0694c5590eb6fb50bd1771.tar.xz repo-libdce-ffb5c1de22eefd33ec0694c5590eb6fb50bd1771.zip |
[LIBDCE] Replace Semaphore with Mutex
This patch reverts the below commit:
"abd5152ca071e552954571862635666297221177
[LIBDCE] Mutual exclusion of Engine_open and Engine_close"
Description:
-----------
(1) The current semaphore logic doesn't protect the engine open/close
calls across processes. It is confirmed on QNX that two instances of
dce test app is creating two different instances of semaphore.
Hence, other than the delay the current semaphore doesn't add
any protection for the mutli process <-> multi instance scenarios.
(2) For the single process <-> multi instance scenario, it does protect
the engine open/close calls, but it fails due to lack of reference counting
And also, it is not sure why we need to protect the entire engine_open/close.
Hence the current semaphore is replaced with mutex to protect the ipc handle
create/close.
Change-Id: Ibdad089bdd39cd5afc813373e84bf91fa8920860
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions