Fix signal handler for handling all dead childs 19/127919/3
authorjongmyeongko <jongmyeong.ko@samsung.com>
Tue, 2 May 2017 09:59:35 +0000 (18:59 +0900)
committerjongmyeong ko <jongmyeong.ko@samsung.com>
Mon, 8 May 2017 11:15:23 +0000 (11:15 +0000)
commit04df02a71284a1edaad4116060f36c160cf1ead6
tree6deaa48b3c1479c4d5b45f5f6ec79614864a8726
parent5b0a006eb4ef96a867549a86dc308b714462408c
Fix signal handler for handling all dead childs

The signal handler can be called once (not for each child)
when childs are terminated at very close timing each other.

reproduce : #pkgcmd --clear-all
this causes all slots (rpm, tpk and wgt) active, and
some processes are terminated at very close timing.

Change-Id: Ie007e17431e78e2920356e6178dff3af86826790
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
src/pkgmgr-server.c