Fix thread safe issue 28/236628/6
authorHwankyu Jhun <h.jhun@samsung.com>
Fri, 19 Jun 2020 02:19:27 +0000 (11:19 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Fri, 19 Jun 2020 05:59:32 +0000 (14:59 +0900)
commitdcaadb698055fb38a6d6182a5318bdf6a3729d71
tree5bcdeb4ee28eecdced69601190b0512c4d09f136
parentbe4e9e27d08f542718b780611ac53f817ddc7dc2
Fix thread safe issue

To avoid thread safe issues, FdBrokerManager class is added.
While calling the callback functions, the FdBroker ptr is checked
whether the ptr is valid or not.

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