Modify DataCache code files to support thread synchronization
authorYounghyunJoo <yh_.joo@samsung.com>
Wed, 29 Jul 2015 01:18:39 +0000 (10:18 +0900)
committerMadan Lanka <lanka.madan@samsung.com>
Wed, 29 Jul 2015 02:21:01 +0000 (02:21 +0000)
commit332aa4af4f3cc880f21d3c6ee765f59d74685eff
treebc10bc3f0de8b4dcbfa9c99659187b9bbbeca73a
parent957bb6b53e9cb60dbfb49b7c37f5a364afb3a5e5
Modify DataCache code files to support thread synchronization

- add thread synchronization for the subscriberList
- modify notifyObservers()'s parameter to const variable

Change-Id: I13e18a56be2ec2f6e7e4c0eadc371161dc6b5f3b
Signed-off-by: YounghyunJoo <yh_.joo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1949
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Hun-je Yeon <hunje.yeon@samsung.com>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
service/resource-encapsulation/src/resourceCache/include/DataCache.h
service/resource-encapsulation/src/resourceCache/src/DataCache.cpp