Fix bug for callback as seperated thread.
Problem: It is degined that consumer service executes
the registered callback function in different thread
But, the registered callback function for ProviderChanged event
is called in same thread.
Fix: Separate the thread for this callback function execution
from main thread
Change-Id: Ic4c9edce1c058a7e04aa7a38fad8f66f2e586d3d
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11493
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>