summaryrefslogtreecommitdiff
path: root/src/daemon/dlt-daemon.c
diff options
context:
space:
mode:
authorSaya Sugiura <ssugiura@jp.adit-jv.com>2018-05-22 20:40:51 +0900
committerSaya Sugiura <ssugiura@jp.adit-jv.com>2019-04-24 17:13:57 +0900
commit1348d1c07dbda69c32317738b8e9c69734f181c3 (patch)
tree2fe7669cd7d20bc2ee2d5ab5a24a6ebe2bd32ef5 /src/daemon/dlt-daemon.c
parent37e8bc12a7e86fa54b3a5f260b45fd730a5a59a6 (diff)
downloadDLT-daemon-1348d1c07dbda69c32317738b8e9c69734f181c3.tar.gz
lib: daemon: Fix sem lock potential issue
sem_wait may return an error if a signal is received while waiting for the lock,and therefore not take the lock before returning. Changed to have a while loop. Signed-off-by: Saya Sugiura <ssugiura@jp.adit-jv.com>
Diffstat (limited to 'src/daemon/dlt-daemon.c')
0 files changed, 0 insertions, 0 deletions