Home
last modified time | relevance | path

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

/aoo4110/main/sal/osl/unx/
H A Dsemaphor.c47 oslSemaphore Semaphore; in osl_createSemaphore() local
53 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() local
187 free(Semaphore); in osl_createSemaphore()
206 free(Semaphore); in osl_createSemaphore()
211 return Semaphore; in osl_createSemaphore()
[all …]
/aoo4110/main/sal/osl/w32/
H A Dsemaphor.c41 oslSemaphore Semaphore; in osl_createSemaphore() local
43 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() argument
61 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 …]
/aoo4110/main/sal/osl/os2/
H A Dsemaphor.c90 void SAL_CALL osl_destroySemaphore(oslSemaphore Semaphore) in osl_destroySemaphore() argument
92 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() argument
111 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() argument
145 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 …]
/aoo4110/main/sal/inc/osl/
H A Dsemaphor.hxx39 class Semaphore { class
50 Semaphore(sal_uInt32 initialCount) in Semaphore() function in osl::Semaphore
58 ~Semaphore() in ~Semaphore()
99 Semaphore(const Semaphore&);
107 Semaphore(oslSemaphore Semaphore);
112 Semaphore& operator= (const Semaphore&);
117 Semaphore& operator= (oslSemaphore);
H A Dsemaphor.h54 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);
/aoo4110/main/salhelper/inc/salhelper/
H A Dqueue.hxx103 osl::Semaphore m_aNotEmpty;
146 osl::Semaphore m_aNotFull;

Completed in 34 milliseconds