block: Added logic to wait for thread processing on exit 24/203024/1
authorYunmi Ha <yunmi.ha@samsung.com>
Tue, 9 Apr 2019 05:29:15 +0000 (14:29 +0900)
committerYunmi Ha <yunmi.ha@samsung.com>
Tue, 9 Apr 2019 05:29:15 +0000 (14:29 +0900)
commite85896764810388307b46f7ea11b7159d1df56ba
treeb6417e8a6c5f6ca46800d1558b3a2c27a8eeb5db
parent4a60a50a6941f05073205f9038651fdf5b33e554
block: Added logic to wait for thread processing on exit

If the thread has remain job when it exit,
it need to wait for finishing it.

Change-Id: I09aba16ee427222537d279487711a4ecfbaff795
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
src/block/block.c
src/core/modules.c