There are two common implementations of critical sections in sipXecs:
OsBSem semaphore;
...
{
OsLock lock(semaphore);
<critical section>;
}
...
and
OsMutex semaphore;
...
semaphore.acquire();
<critical section>;
semaphore.release();
Is one preferable to the other?
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/