Fix DebugPort implementation 36/281336/2
authorHwankyu Jhun <h.jhun@samsung.com>
Thu, 15 Sep 2022 10:42:36 +0000 (10:42 +0000)
committerHwanKyu Jhun <h.jhun@samsung.com>
Thu, 15 Sep 2022 23:12:16 +0000 (23:12 +0000)
commitd416ebd46e130a862a040afb6d3e031ffe932d96
treecd4539e87e7ea5d57de980737e4b7c59a075900d
parentb7550b2f2a4e7ed0bfb3d327a700442322e09783
Fix DebugPort implementation

The DebugPort implementation is changed. The method are changed to 'static'.
The implementation of the DebugPort is moved to the DebugPortImpl.
To avoid unnecessary locking mutex, the flag that is connected_ is changed to
std::atomic<bool>.

Change-Id: I4aca67730639664c7a2646f9486be49124dad0ff
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/debug-port-internal.cc
src/debug-port-internal.hh
src/proxy-internal.cc
src/rpc-port.cc
src/stub-internal.cc