Fix problem for multiple api call
authorjjack.lee <jjack.lee@samsung.com>
Mon, 26 Jan 2015 04:59:03 +0000 (13:59 +0900)
committerSudarshan Prasad <sudarshan.prasad@intel.com>
Fri, 20 Feb 2015 21:58:06 +0000 (21:58 +0000)
commitc1005eb119e5b7db07c1bd0c8152cf8cc43664f8
tree16b2551376667bab7d1b2002d3dc44dd50868820
parent6ed073071115823e1daffebe2f25191dbc42d9b2
Fix  problem  for multiple api call

It is thread issue. So, add lock mechanism.
Fix [IOT-263]

Change-Id: Ic0fac30b1a4c0c305af607e5caa7c1afd21163b6
Signed-off-by: Jack Lee <jjack.lee@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/243
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 522c05e82f1ccd3ae2cf4b4a63ec414f7ebcb8ce)
Reviewed-on: https://gerrit.iotivity.org/gerrit/381
Reviewed-by: Sudarshan Prasad <sudarshan.prasad@intel.com>
service/things-manager/sdk/src/GroupManager.cpp