SDOCM00113171 fix: release NameServerRemoteRpmsg gate on timeout
authorRobert Tivy <rtivy@ti.com>
Tue, 9 Sep 2014 22:43:54 +0000 (15:43 -0700)
committerRobert Tivy <rtivy@ti.com>
Wed, 1 Oct 2014 21:14:40 +0000 (14:14 -0700)
commit65ccb4010ca6a7275257960b51d8586cff741903
tree05761c34458ce13ec2b7cf70d32fc0d516acc95f
parentce45a9737cff5aa330d6f1631dfb55dee2e10ea9
SDOCM00113171 fix: release NameServerRemoteRpmsg gate on timeout

The NameServerRemoteRpmsg_get() function has a timeout-based Semaphore_pend
that can return failure when the timeout expires.  The function returns
without releasing the gate when the timeout failure happens.  This causes
any other thread to block when calling MessageQ_open(), while subsequent
MessageQ_open() calls on the same thread can succeed.
packages/ti/ipc/namesrv/NameServerRemoteRpmsg.c