# HG changeset patch # User Michael Spacefalcon # Date 1403492314 0 # Node ID 578ba9dfc369fbfe8cbeb3fb11b2e2d649c9171f # Parent 8768b9f2807336980ee8cba0b19a8954d20d90e7 os_sem_ir.c: os_ReleaseSemaphore() done diff -r 8768b9f28073 -r 578ba9dfc369 gsm-fw/gpf/osl/os_sem_ir.c --- a/gsm-fw/gpf/osl/os_sem_ir.c Mon Jun 23 02:55:22 2014 +0000 +++ b/gsm-fw/gpf/osl/os_sem_ir.c Mon Jun 23 02:58:34 2014 +0000 @@ -26,6 +26,15 @@ return(OS_ERROR); } +GLOBAL LONG +os_ReleaseSemaphore(OS_HANDLE TaskHandle, OS_HANDLE SemHandle) +{ + if (NU_Release_Semaphore(&SemTable[SemHandle].SemCB) == NU_SUCCESS) + return(OS_OK); + else + return(OS_ERROR); +} + int ObtainSemaphoreCB(NU_SEMAPHORE *SemCB, ULONG Timeout, USHORT wait_check) {