Synchronize worker thread 41/211941/6
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 12 Aug 2019 11:11:58 +0000 (20:11 +0900)
committerHwanKyu Jhun <h.jhun@samsung.com>
Tue, 13 Aug 2019 01:17:35 +0000 (01:17 +0000)
commitebe2bf0d330276b9d1b703cd6d3f0b5bf7cb948b
treeb9a02b58c5077a8da28ee2cccbb383cccb70b0d5
parenta42b9ad3bf9c6cf739c5abd5d2652da0b9878649
Synchronize worker thread

To terminate the worker thread properly, the main thread has to wait until
the event loop of the worker thread is started. If the event loop is not
started while terminating the process, the process can be blocked.

Change-Id: I5927ca7d31e0c45d3a8783fe362147250b0e93eb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
include/aul_worker.h
src/aul_worker.c