Handled automation delays using condition variable.
authorG S Senthil Kumar <senthil.gs@samsung.com>
Thu, 7 Jan 2016 09:42:39 +0000 (15:12 +0530)
committerUze Choi <uzchoi@samsung.com>
Mon, 11 Jan 2016 05:16:16 +0000 (05:16 +0000)
commit73a308a8204b45d21008ca6468f4bb91a314c417
tree08c20f5accd4f8607fc1e29bfc25ad52c340a9d9
parent1fc385ff136489e0f104603f8ea1ad6f12df3027
Handled automation delays using condition variable.

Used condition variable instead of sleep() to introduce delay during automation.

Change-Id: I88c075a524beab60f4241baaaaae7e530a43c689
Signed-off-by: G S Senthil Kumar <senthil.gs@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/4769
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