[Common] Changed method of deviced listener implementation 15/272315/2
authorPiotr Kosko/Tizen API (PLT) /SRPOL/Engineer/Samsung Electronics <p.kosko@samsung.com>
Mon, 14 Mar 2022 10:46:24 +0000 (11:46 +0100)
committerPiotr Kosko/Tizen API (PLT) /SRPOL/Engineer/Samsung Electronics <p.kosko@samsung.com>
Mon, 14 Mar 2022 12:20:40 +0000 (13:20 +0100)
commitd9db8580a58bc7959d755cd361c588327723f5d7
tree66c873019fd69a648bd5497bd740143222fd6cf2
parent46b3c26c09dd2aa1d67912810d42c3c80ccfca12
[Common] Changed method of deviced listener implementation

To prevent crash in multithreaded model of wrt-services, there is a need
to use device_changed_callback_ as a thread local variable.

[Verification] Code compiles without errors.

Change-Id: Ifba2cef597e6244ab9c071b10c870b942b500946
src/common/filesystem/filesystem_provider_deviced.cc
src/common/filesystem/filesystem_provider_deviced.h