Searched refs:Semaphore (Results 1 – 6 of 6) sorted by relevance
47 oslSemaphore Semaphore; in osl_createSemaphore() local53 if ( Semaphore == 0 ) in osl_createSemaphore()69 free(Semaphore); in osl_createSemaphore()70 Semaphore = NULL; in osl_createSemaphore()73 return Semaphore; in osl_createSemaphore()84 free(Semaphore); in osl_destroySemaphore()166 oslSemaphore Semaphore; in osl_createSemaphore() local187 free(Semaphore); in osl_createSemaphore()206 free(Semaphore); in osl_createSemaphore()211 return Semaphore; in osl_createSemaphore()[all …]
41 oslSemaphore Semaphore; in osl_createSemaphore() local43 Semaphore= CreateSemaphore(0, initialCount, INT_MAX, 0); in osl_createSemaphore()46 if((HANDLE)Semaphore == INVALID_HANDLE_VALUE) in osl_createSemaphore()48 Semaphore= 0; in osl_createSemaphore()51 return Semaphore; in osl_createSemaphore()57 void SAL_CALL osl_destroySemaphore(oslSemaphore Semaphore) in osl_destroySemaphore() argument61 if(Semaphore != 0) in osl_destroySemaphore()63 CloseHandle((HANDLE)Semaphore); in osl_destroySemaphore()73 OSL_ASSERT(Semaphore != 0); in osl_acquireSemaphore()90 OSL_ASSERT(Semaphore != 0); in osl_tryToAcquireSemaphore()[all …]
90 void SAL_CALL osl_destroySemaphore(oslSemaphore Semaphore) in osl_destroySemaphore() argument92 oslSemaphoreImpl* pSemaphoreImpl = (oslSemaphoreImpl*)Semaphore; in osl_destroySemaphore()93 OSL_ASSERT(Semaphore != 0); in osl_destroySemaphore()108 sal_Bool SAL_CALL osl_acquireSemaphore(oslSemaphore Semaphore) in osl_acquireSemaphore() argument111 oslSemaphoreImpl* pSemaphoreImpl = (oslSemaphoreImpl*)Semaphore; in osl_acquireSemaphore()113 OSL_ASSERT(Semaphore != 0); in osl_acquireSemaphore()142 sal_Bool SAL_CALL osl_tryToAcquireSemaphore(oslSemaphore Semaphore) in osl_tryToAcquireSemaphore() argument145 oslSemaphoreImpl* pSemaphoreImpl = (oslSemaphoreImpl*)Semaphore; in osl_tryToAcquireSemaphore()147 OSL_ASSERT(Semaphore != 0); in osl_tryToAcquireSemaphore()166 sal_Bool SAL_CALL osl_releaseSemaphore(oslSemaphore Semaphore) in osl_releaseSemaphore() argument[all …]
39 class Semaphore { class50 Semaphore(sal_uInt32 initialCount) in Semaphore() function in osl::Semaphore58 ~Semaphore() in ~Semaphore()99 Semaphore(const Semaphore&);107 Semaphore(oslSemaphore Semaphore);112 Semaphore& operator= (const Semaphore&);117 Semaphore& operator= (oslSemaphore);
54 void SAL_CALL osl_destroySemaphore(oslSemaphore Semaphore);64 sal_Bool SAL_CALL osl_acquireSemaphore(oslSemaphore Semaphore);74 sal_Bool SAL_CALL osl_tryToAcquireSemaphore(oslSemaphore Semaphore);83 sal_Bool SAL_CALL osl_releaseSemaphore(oslSemaphore Semaphore);
103 osl::Semaphore m_aNotEmpty;146 osl::Semaphore m_aNotFull;
Completed in 18 milliseconds