SrvMgr: Initialize ServiceMgr only once
authorJesse Villarreal <jesse.villarreal@ti.com>
Wed, 28 Mar 2012 14:55:18 +0000 (09:55 -0500)
committerSuman Anna <s-anna@ti.com>
Mon, 30 Apr 2012 22:20:52 +0000 (17:20 -0500)
commitc29d835418fe5ba6a07ee83242cc723a27c7dfa6
tree2b03c28e18473401424f88acfa2939eb59e962b4
parentf0162b15ae43f7ab8fd5e6aa83327de1cd5230b9
SrvMgr: Initialize ServiceMgr only once

Avoid re-initializing service manager by using a
reference count. This allows the API to be called
by different tasks.

Signed-off-by: Jesse Villarreal <jesse.villarreal@ti.com>
Signed-off-by: Alberto Aguirre <a-aguirre@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
src/ti/srvmgr/ServiceMgr.c