Update consumer service termination logic.
authorKIM JungYong <jyong2.kim@samsung.com>
Fri, 9 Sep 2016 02:27:00 +0000 (11:27 +0900)
committerUze Choi <uzchoi@samsung.com>
Mon, 12 Sep 2016 01:48:09 +0000 (01:48 +0000)
commit1255198a3f4cf26d7d0f3cbf6a049568f13525ed
tree716b9f711d2c08447fa6ab936d5dad6cf3cda5ee
parent7a5fdfca6110453fcd3cf0d52e6874cadaddc09a
Update consumer service termination logic.

When consumer service termination or stopped,
memory deallocation of thread, mutex, list object is added.

unit test of NSConsumerGetProvider is added.

Change-Id: I61c30b46645d5a88eeac7f4ed6ca06d5b3d1036e
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11615
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
service/notification/src/consumer/NSConsumerCommon.c
service/notification/src/consumer/NSConsumerInternalTaskController.c
service/notification/src/consumer/NSConsumerInternalTaskController.h
service/notification/src/consumer/NSConsumerScheduler.c
service/notification/unittest/NSConsumerTest.cpp
service/notification/unittest/NSProviderSimulator.h