[IoTivity Simulator]Resolved JIRA issues IOT-893 and IOT-870.
authorG S Senthil Kumar <senthil.gs@samsung.com>
Tue, 29 Dec 2015 13:50:11 +0000 (19:20 +0530)
committerUze Choi <uzchoi@samsung.com>
Thu, 31 Dec 2015 05:24:38 +0000 (05:24 +0000)
commit6d5a606d7f9e2bd66b2ee75cc126c453f1bbdea6
tree953d70ba5d6b4196f9954113ac05a312396eacb0
parent01775fb38bd0435538a40da69792524af7e7e619
[IoTivity Simulator]Resolved JIRA issues IOT-893 and IOT-870.

IOT-893 is about the time delay after stopping the automation.
IOT-870 is about the server crash while notifying the observers.
Updated the code to allow errors when notifying the observers to be
propagated till application.

Managing thread objects using shared pointers
and detaching them for de-allocation of thread resources.

Change-Id: I06e33926a79fd241bf4089b8c4760742edab8290
Signed-off-by: G S Senthil Kumar <senthil.gs@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/4721
Reviewed-by: Radha Bhavani <radha.p@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/simulator/src/server/resource_update_automation.cpp
service/simulator/src/server/resource_update_automation.h
service/simulator/src/server/resource_update_automation_mngr.cpp