Fix vconf implementation 82/274582/2
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 3 May 2022 02:39:00 +0000 (11:39 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Tue, 3 May 2022 08:03:58 +0000 (17:03 +0900)
commitdbfcf19f2a42a085fe1a4b21186bc00eb7abe263
treec3e02f9fedee6e6c803f1f886e43507f0f18ab0c
parentfd7b9c80b3dbff40736395b47fc006f346afaa48
Fix vconf implementation

To avoid a deadlock issue, locking mutex is removed from _vconf_notify_cb().
A new mutex is added for thread safe of gsource_tbl. When _vconf_notify_cb() is
called, idlers are added for the main thread and the ui thread.

Change-Id: I32da85e2dd259d373ed7a0e210eb63158a56efb9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
vconf-compat/vconf.c