Home
last modified time | relevance | path

Searched refs:pSem (Results 1 – 1 of 1) sorted by relevance

/aoo41x/main/sal/osl/unx/
H A Dsemaphor.c167 osl_TSemImpl* pSem; in osl_createSemaphore() local
172 pSem= (osl_TSemImpl*)Semaphore; in osl_createSemaphore()
181 if (pSem->m_Id < 0) in osl_createSemaphore()
195 if(semctl(pSem->m_Id, 0, SETVAL, arg) < 0) in osl_createSemaphore()
201 if(semctl(pSem->m_Id, 0, IPC_RMID, arg) < 0) in osl_createSemaphore()
225 if(semctl(pSem->m_Id, 0, IPC_RMID, arg) < 0) in osl_destroySemaphore()
249 osl_TSemImpl* pSem= (osl_TSemImpl*)Semaphore; in osl_acquireSemaphore() local
255 return semop(pSem->m_Id, &op, 1) >= 0; in osl_acquireSemaphore()
273 osl_TSemImpl* pSem= (osl_TSemImpl*)Semaphore; in osl_tryToAcquireSemaphore() local
279 return semop(pSem->m_Id, &op, 1) >= 0; in osl_tryToAcquireSemaphore()
[all …]

Completed in 6 milliseconds