Move port existence check to the Watch method 44/287644/2
authorHwankyu Jhun <h.jhun@samsung.com>
Thu, 2 Feb 2023 02:37:06 +0000 (02:37 +0000)
committerHwankyu Jhun <h.jhun@samsung.com>
Thu, 2 Feb 2023 02:40:06 +0000 (02:40 +0000)
commit8222a5a4242f4efeb750d5a65c74b4732347e3da
tree24fc5a66f5b56445cea1e3932e94ef24a97d7b6a
parent48d325c76040f097b3ce5f036c8ac9298a94ebba
Move port existence check to the Watch method

To make unblocking the main thread, the port existence check is moved to
the Watch() method. If the proxy application calls the rpc_port_proxy_connect()
function in the sub thread, the Aul::ExistPort() is called in the thread.

Change-Id: Ie82e0527c56981337c1b241c8d2b090696a1b0de
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/proxy-internal.cc
src/proxy-internal.hh