HomeSort by relevance Sort by last modified time
    Searched full:semaphore (Results 226 - 250 of 1401) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/python/cpython3/Doc/library/
asyncio-sync.rst 15 * :class:`Semaphore`
20 :class:`~threading.Condition`, :class:`~threading.Semaphore`,
243 Semaphore
246 .. class:: Semaphore(value=1, \*, loop=None)
248 A Semaphore implementation.
250 A semaphore manages an internal counter which is decremented by each
265 Acquire a semaphore.
276 Returns ``True`` if semaphore can not be acquired immediately.
280 Release a semaphore, incrementing the internal counter by one. When it
290 A bounded semaphore implementation. Inherit from :class:`Semaphore`
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
RenderingWatchDog.java 18 import java.util.concurrent.Semaphore;
34 private Semaphore mSemaphore;
50 mSemaphore = new Semaphore(0);
  /external/skia/src/gpu/mock/
GrMockGpu.h 42 sk_sp<GrSemaphore> wrapBackendSemaphore(const GrBackendSemaphore& semaphore,
45 void insertSemaphore(sk_sp<GrSemaphore> semaphore, bool flush) override {}
46 void waitSemaphore(sk_sp<GrSemaphore> semaphore) override {}
  /external/valgrind/drd/tests/
sem_open.c 1 /* Use a semaphore to implement mutual exclusion. */
6 #include <semaphore.h>
66 fprintf(stderr, "Failed to create a semaphore with name %s\n",
sem_wait.cpp 5 #include <semaphore.h>
  /frameworks/base/tests/UiBench/src/com/android/test/uibench/
EditTextTypeActivity.java 26 import java.util.concurrent.Semaphore;
61 final Semaphore sem = new Semaphore(0);
  /packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
CarDiagnosticManagerTest.java 28 import java.util.concurrent.Semaphore;
35 private final Semaphore mConnectionWait = new Semaphore(0);
  /packages/services/Car/tests/android_support_car_api_test/src/com/android/support/car/apitest/
CarTest.java 26 import java.util.concurrent.Semaphore;
33 private final Semaphore mConnectionWait = new Semaphore(0);
TestAction.java 21 import java.util.concurrent.Semaphore;
35 private Semaphore mWaitSemaphore = new Semaphore(0);
  /cts/suite/audio_quality/lib/include/audio/
RemoteAudio.h 31 #include "Semaphore.h"
78 // this is just semaphore wait without any addition
94 Semaphore mInitWait;
134 Semaphore mClientWait;
  /external/compiler-rt/test/tsan/
vptr_harmful_race.cc 3 #include <semaphore.h>
vptr_harmful_race2.cc 3 #include <semaphore.h>
vptr_harmful_race3.cc 3 #include <semaphore.h>
  /external/ltp/testcases/kernel/syscalls/ipc/semctl/
semctl02.c 28 * create a semaphore set without read/alter permissions
140 /* create a semaphore set without read or alter permissions */
142 tst_brkm(TBROK, cleanup, "couldn't create semaphore in setup");
152 /* if it exists, remove the semaphore resouce */
  /external/ltp/testcases/kernel/syscalls/ipc/semop/
semop03.c 28 * create a semaphore set with read and alter permissions
140 /* create a semaphore with read and alter permissions */
143 tst_brkm(TBROK, cleanup, "couldn't create semaphore in setup");
153 /* if it exists, remove the semaphore resource */
semop04.c 28 * create a semaphore set with read and alter permissions
158 /* create a semaphore set with read and alter permissions */
162 tst_brkm(TBROK, cleanup, "couldn't create semaphore in setup");
172 /* if it exists, remove the semaphore resource */
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_init/
6-1.c 15 #include <semaphore.h>
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_open/
15-1.c 20 * the same adress must be returned as long as the semaphore
24 * -> Create a semaphore with sem_open
26 * -> Check that the same address is returned for the semaphore.
45 #include <semaphore.h>
6-1.c 16 #include <semaphore.h>
  /external/python/cpython3/PCbuild/
_multiprocessing.vcxproj.filters 20 <ClCompile Include="..\Modules\_multiprocessing\semaphore.c">
  /external/valgrind/helgrind/tests/
safe-semaphore.h 1 #include <semaphore.h>
  /prebuilts/vndk/v27/arm/arch-arm-armv7-a-neon/shared/vndk-core/
libsuspend.so 
  /prebuilts/vndk/v27/arm64/arch-arm-armv7-a-neon/shared/vndk-core/
libsuspend.so 
  /bionic/libc/bionic/
semaphore.cpp 35 #include <semaphore.h>
47 // In this implementation, a semaphore contains a
52 // semaphore, 0 or more to indicate uncontended state,
94 // Because using the second method pollutes semaphore.h.
98 // Return the shared bitflag from a semaphore counter.
105 // Ensure that 'value' can be stored in the semaphore.
140 // Decrement a semaphore's value atomically,
182 // "Increment" the value of a semaphore atomically and
237 // POSIX says we need to try to decrement the semaphore
254 // Try to grab the semaphore. If the value was 0, this will also change it to -1
    [all...]
  /device/google/marlin/camera/QCamera2/util/
QCameraCmdThread.h 71 cam_semaphore_t cmd_sem; /* semaphore for cmd thread */
72 cam_semaphore_t sync_sem; /* semaphore for synchronized call signal */

Completed in 1367 milliseconds

1 2 3 4 5 6 7 8 91011>>