SDOCM00112918 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, 10 Sep 2014 21:03:18 +0000 (14:03 -0700)
commit14e4a1f55a4cfd19c6c5cd998ba66e3ce51d24a9
tree37e8a8bae3f8cfa622b734ac41f64d579fa339f2
parent8a8d1e3d5b80f289690274e146bf86a701f9a8d1
SDOCM00112918 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