HomeSort by relevance Sort by last modified time
    Searched full:semaphore (Results 126 - 150 of 571) sorted by null

1 2 3 4 56 7 8 91011>>

  /prebuilts/ndk/8/platforms/android-14/arch-x86/usr/include/linux/
cpu.h 19 #include <asm/semaphore.h>
  /prebuilts/ndk/8/platforms/android-3/arch-arm/usr/include/linux/
cpu.h 19 #include <asm/semaphore.h>
  /prebuilts/ndk/8/platforms/android-4/arch-arm/usr/include/linux/
cpu.h 19 #include <asm/semaphore.h>
  /prebuilts/ndk/8/platforms/android-5/arch-arm/usr/include/linux/
cpu.h 19 #include <asm/semaphore.h>
  /prebuilts/ndk/8/platforms/android-8/arch-arm/usr/include/linux/
cpu.h 19 #include <asm/semaphore.h>
  /prebuilts/ndk/8/platforms/android-9/arch-arm/usr/include/linux/
cpu.h 19 #include <asm/semaphore.h>
  /prebuilts/ndk/8/platforms/android-9/arch-mips/usr/include/linux/
cpu.h 19 #include <asm/semaphore.h>
  /prebuilts/ndk/8/platforms/android-9/arch-x86/usr/include/linux/
cpu.h 19 #include <asm/semaphore.h>
  /packages/apps/Nfc/nxp/jni/
com_android_nfc_NativeP2pDevice.cpp 18 #include <semaphore.h>
138 /* Create the local semaphore */
158 ALOGE("Failed to wait for semaphore (errno=0x%08x)", errno);
211 /* Create the local semaphore */
249 ALOGE("Failed to wait for semaphore (errno=0x%08x)", errno);
284 /* Create the local semaphore */
322 ALOGE("Failed to wait for semaphore (errno=0x%08x)", errno);
369 /* Create the local semaphore */
390 ALOGE("Failed to wait for semaphore (errno=0x%08x)", errno);
420 /* Create the local semaphore */
    [all...]
com_android_nfc.cpp 80 /* Create semaphore */
83 ALOGE("Semaphore creation failed (errno=0x%08x)", errno);
93 /* Add to active semaphore list */
96 ALOGE("Failed to add the semaphore to the list");
104 /* Destroy semaphore */
107 ALOGE("Failed to destroy semaphore (errno=0x%08x)", errno);
110 /* Remove from active semaphore list */
113 ALOGE("Failed to remove semaphore from the list");
201 ALOGE("NFC Manager Semaphore List creation failed");
com_android_nfc_NativeLlcpConnectionlessSocket.cpp 17 #include <semaphore.h>
71 /* Create the local semaphore */
99 ALOGE("Failed to wait for semaphore (errno=0x%08x)", errno);
133 /* Create the local semaphore */
179 ALOGE("Failed to wait for semaphore (errno=0x%08x)", errno);
  /external/qemu/distrib/sdl-1.2.15/docs/html/
thread.html 138 >&nbsp;--&nbsp;Creates a new semaphore and assigns an initial value to it.</DT
143 >&nbsp;--&nbsp;Destroys a semaphore that was created by <A
151 >&nbsp;--&nbsp;Lock a semaphore and suspend the thread if the semaphore value is zero.</DT
156 >&nbsp;--&nbsp;Attempt to lock a semaphore but don't suspend the thread.</DT
161 >&nbsp;--&nbsp;Lock a semaphore, but only wait up to a specified maximum time.</DT
166 >&nbsp;--&nbsp;Unlock a semaphore.</DT
171 >&nbsp;--&nbsp;Return the current value of a semaphore.</DT
sdlsemwait.html 83 >SDL_SemWait&nbsp;--&nbsp;Lock a semaphore and suspend the thread if the semaphore value is zero.</DIV
128 the semaphore pointed to by <TT
135 will atomically decrement the semaphore value.</P
140 > is successful, the semaphore
162 > if there was an error (leaving the semaphore unchanged).</P
sdlsempost.html 83 >SDL_SemPost&nbsp;--&nbsp;Unlock a semaphore.</DIV
127 > unlocks the semaphore pointed to by
134 Threads that were blocking on the semaphore may be scheduled after this call
140 > should be called after a semaphore is locked by a successful call to
169 > if there was an error (leaving the semaphore unchanged).</P
  /external/valgrind/main/drd/tests/
pth_detached_sem.c 4 * in this test program the main thread uses a counting semaphore instead
12 #include <semaphore.h>
sem_as_mutex.c 1 /* Use a semaphore to implement mutual exclusion. */
7 #include <semaphore.h>
circular_buffer.c 14 #include <semaphore.h>
28 #define DATA_SEMAPHORE_NAME "cb-data-semaphore"
29 #define FREE_SEMAPHORE_NAME "cb-free-semaphore"
35 /* Counting semaphore representing the number of data items in the buffer. */
37 /* Counting semaphore representing the number of free elements. */
  /external/valgrind/main/helgrind/tests/
tc24_nonzero_sem.c 3 Also useful for generating VCG of simple semaphore activity, for
8 #include <semaphore.h>
  /hardware/samsung_slsi/exynos5/mobicore/daemon/Common/
CSemaphore.h 5 * Semaphore implementation (pthread wrapper).
40 * Semaphore is a mutex with a counter. Constructor and destructor
  /system/extras/tests/bionic/libc/common/
bench_pthread.c 43 #include <semaphore.h>
196 sem_t semaphore; local
198 sem_init(&semaphore, 1, 1);
199 BENCH(sem_getvalue(&semaphore,&dummy));
200 BENCH(sem_wait(&semaphore); sem_post(&semaphore));
  /external/qemu/distrib/sdl-1.2.15/src/timer/os2/
SDL_systimer.c 98 HEV hevEvent1 = 0; /* Event semaphore handle */
110 &hevEvent1, /* Handle of semaphore returned */
112 FALSE); /* Semaphore is in RESET state */
145 (HSEM) hevEvent1, /* Semaphore to post */
171 if ((rc = DosCloseEventSem(hevEvent1)) && !e) { /* Get rid of semaphore */
  /external/webkit/Source/WebKit2/Platform/win/
RunLoopWin.cpp 82 bool RunLoop::dispatchSentMessagesUntil(const Vector<HWND>& windows, CoreIPC::BinarySemaphore& semaphore, double absoluteTime)
85 return semaphore.wait(absoluteTime);
87 HANDLE handle = semaphore.event();
93 // Consider the wait to have timed out, even if the semaphore is currently signaled.
100 // The semaphore was signaled.
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
CameraStressTest.java 27 import java.util.concurrent.Semaphore;
72 final Semaphore sem = new Semaphore(0);
117 final Semaphore sem = new Semaphore(0);
  /packages/apps/Nfc/nci/jni/
NativeLlcpConnectionlessSocket.cpp 17 #include <semaphore.h>
190 // Create the write semaphore
193 ALOGE ("%s: semaphore creation failed (errno=0x%08x)", __FUNCTION__, errno);
202 ALOGE ("%s: Failed to wait for write semaphore (errno=0x%08x)", __FUNCTION__, errno);
241 ALOGE ("%s: Failed to destroy sConnlessRecvSem semaphore (errno=0x%08x)", __FUNCTION__, errno);
  /external/v8/src/
platform.h 94 class Semaphore;
234 // Factory method for creating platform dependent Semaphore.
235 // Please use delete to reclaim the storage for the returned Semaphore.
236 static Semaphore* CreateSemaphore(int count);
579 // Semaphore
581 // A semaphore object is a synchronization object that maintains a count. The
582 // count is decremented each time a thread completes a wait for the semaphore
583 // object and incremented each time a thread signals the semaphore. When the
584 // count reaches zero, threads waiting for the semaphore blocks until the
587 class Semaphore {
    [all...]

Completed in 1559 milliseconds

1 2 3 4 56 7 8 91011>>