[SSM] Modify thread util and framework init method
Problem: Thread worker crashes while terminating.
SoftSensor searching path must given at compile time
How: Rearchitecture threading model
Add XML descriptor based framework initialization.
1. Search SoftSensorDescription.xml
(previously high-context.xml) where executable located
2. Or put search path using below init configration.
<SSMCore>
<Device>
<UDN>
abcde123-31f8-11b4-a222-
08002b34c003</UDN>
<Name>MyPC</Name>
<Type>PC</Type>
</Device>
<Config>
<SoftSensorRepository>/usr/local/SSRepo/</SoftSensorRepository>
<SoftSensorDescription>/usr/local/SSRepo/SSDescription.xml</SoftSensorDescription>
</Config>
</SSMCore>
Change-Id: Id2c0746357d9e850e9e90016547b116412b758d2
Signed-off-by: Kim Jee Hyeok <jihyeok13.kim@samsung.com>