Remove boost atomic dependency from ResourceObject
authorcoderhyme <jhyo.kim@samsung.com>
Fri, 14 Aug 2015 08:06:32 +0000 (17:06 +0900)
committerMadan Lanka <lanka.madan@samsung.com>
Tue, 18 Aug 2015 01:53:50 +0000 (01:53 +0000)
commit226d1f85da76a8a186fd74380ce374fc7b30f890
treea4fa04b8218636082504cab406efd1d9816384ce
parentff61b6cf5bca012c860c2ce425b33c92c79027da
Remove boost atomic dependency from ResourceObject

It uses one of std and boost if possible.
When they are not fittable which means the boost version is lower than 1.53.0 and the template parameter is not an integral type,
then it selects handmade atomic class.

Change-Id: I556a936f933d524bb4c78224202da4d742c6e9d5
Signed-off-by: coderhyme <jhyo.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2209
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/include/RCSResourceObject.h
service/resource-encapsulation/src/common/utils/include/AtomicHelper.h [new file with mode: 0644]
service/resource-encapsulation/src/serverBuilder/SConscript
service/resource-encapsulation/src/serverBuilder/src/RCSResourceObject.cpp
service/resource-encapsulation/src/serverBuilder/unittests/RCSResourceObjectTest.cpp