Searched refs:Semaphore (Results 1 - 15 of 15) sorted by relevance

/netbsd-current/external/gpl3/gcc/dist/libphobos/testsuite/libphobos.init_fini/
H A Dthread_join.d6 __gshared Semaphore sem;
15 sem = new Semaphore;
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/testsuite/libphobos.init_fini/
H A Dthread_join.d6 __gshared Semaphore sem;
15 sem = new Semaphore;
/netbsd-current/external/gpl3/gcc/dist/libphobos/testsuite/libphobos.thread/
H A Djoin_detach.d4 __gshared Semaphore sem;
14 sem = new Semaphore();
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
H A DFuzzerShmemPosix.cpp59 Semaphore[i] = sem_open(SemName(Name, i).c_str(), O_CREAT, 0644, 0);
60 if (Semaphore[i] == SEM_FAILED)
77 Semaphore[i] = sem_open(SemName(Name, i).c_str(), 0);
78 if (Semaphore[i] == SEM_FAILED)
91 sem_post((sem_t*)Semaphore[Idx]);
96 for (int i = 0; i < 10 && sem_wait((sem_t*)Semaphore[Idx]); i++) {
H A DFuzzerShmemWindows.cpp58 Semaphore[1] = nullptr;
H A DFuzzerShmem.h62 void *Semaphore[2]; member in class:fuzzer::SharedMemoryRegion
/netbsd-current/sys/external/bsd/acpica/dist/executer/
H A Dexsystem.c56 * PARAMETERS: Semaphore - Semaphore to wait on
69 ACPI_SEMAPHORE Semaphore,
78 Status = AcpiOsWaitSemaphore (Semaphore, 1, ACPI_DO_NOT_WAIT);
89 Status = AcpiOsWaitSemaphore (Semaphore, 1, Timeout);
68 AcpiExSystemWaitSemaphore( ACPI_SEMAPHORE Semaphore, UINT16 Timeout) argument
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_mutex.h61 // Semaphore provides an OS-dependent way to park/unpark threads.
64 class Semaphore { class in namespace:__sanitizer
66 constexpr Semaphore() {} function in class:__sanitizer::Semaphore
67 Semaphore(const Semaphore &) = delete;
68 void operator=(const Semaphore &) = delete;
312 Semaphore writers_;
313 Semaphore readers_;
H A Dsanitizer_mutex.cpp31 void Semaphore::Wait() {
45 void Semaphore::Post(u32 count) {
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/core/sync/
H A Dsemaphore.d59 // Semaphore
73 class Semaphore
371 auto semaphore = new Semaphore;
430 auto sem = new Semaphore;
H A Drwmutex.d666 scope rdSemA = new Semaphore, rdSemB = new Semaphore,
667 wrSemA = new Semaphore, wrSemB = new Semaphore;
878 scope rdSemA = new Semaphore, rdSemB = new Semaphore,
879 wrSemA = new Semaphore, wrSemB = new Semaphore;
H A Dcondition.d620 auto semDone = new Semaphore;
786 auto semDone = new Semaphore;
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/core/thread/
H A Dosthread.d1143 auto sem = new Semaphore();
1169 auto sema = new Semaphore(),
1170 semb = new Semaphore();
1221 auto sema = new Semaphore(),
1222 semb = new Semaphore();
/netbsd-current/sys/external/bsd/acpica/dist/include/
H A Dacinterp.h451 ACPI_SEMAPHORE Semaphore,
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/tsan/
H A Dtsan_interceptors_posix.cpp964 Semaphore created;
965 Semaphore started;

Completed in 276 milliseconds