Home
last modified time | relevance | path

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

/trunk/main/sal/osl/os2/
H A Dsemaphor.c55 oslSemaphoreImpl * pSemaphoreImpl; in osl_createSemaphore() local
58 pSemaphoreImpl = (oslSemaphoreImpl *) malloc(sizeof(oslSemaphoreImpl)); in osl_createSemaphore()
59 if( pSemaphoreImpl == NULL ) in osl_createSemaphore()
64 &pSemaphoreImpl->hevReachedZero, in osl_createSemaphore()
69 free( pSemaphoreImpl ); in osl_createSemaphore()
73 pSemaphoreImpl->nCount = initialCount; in osl_createSemaphore()
79 return (oslSemaphore) pSemaphoreImpl; in osl_createSemaphore()
92 oslSemaphoreImpl* pSemaphoreImpl = (oslSemaphoreImpl*)Semaphore; in osl_destroySemaphore() local
95 DosCloseEventSem( pSemaphoreImpl->hevReachedZero ); in osl_destroySemaphore()
97 free( pSemaphoreImpl ); in osl_destroySemaphore()
[all …]