On Wed, 2010-01-06 at 13:47 -0500, Scott Lawrence wrote:
> Why not just use the underlying OsBSem in the first place?  It's exactly
> what you just did - the only advantage of OsLock is that it releases
> based on the scope.

And that is the advantage I want to preserve:  If control goes out of
the block, the semaphore is released automatically.  Having been bitten
by this once (and it took weeks to find the problem), I want to preserve
that safety net.

Dale


_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to