HomeSort by: relevance | last modified time | path
    Searched refs:Semaphore (Results 1 - 18 of 18) sorted by relevancy

  /src/external/gpl3/gcc.old/dist/libphobos/testsuite/libphobos.init_fini/
thread_join.d 3 import core.thread, core.sync.semaphore;
6 __gshared Semaphore sem;
15 sem = new Semaphore;
  /src/external/gpl3/gcc.old/dist/libphobos/testsuite/libphobos.thread/
join_detach.d 2 import core.sync.semaphore;
4 __gshared Semaphore sem;
14 sem = new Semaphore();
  /src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
FuzzerShmemPosix.cpp 19 #include <semaphore.h>
59 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++) {
FuzzerShmemWindows.cpp 58 Semaphore[1] = nullptr;
FuzzerShmem.h 62 void *Semaphore[2];
  /src/sys/external/bsd/acpica/dist/executer/
exsystem.c 56 * PARAMETERS: Semaphore - Semaphore to wait on
61 * DESCRIPTION: Implements a semaphore wait with a check to see if the
62 * semaphore is available immediately. If it is not, the
69 ACPI_SEMAPHORE Semaphore,
78 Status = AcpiOsWaitSemaphore (Semaphore, 1, ACPI_DO_NOT_WAIT);
89 Status = AcpiOsWaitSemaphore (Semaphore, 1, Timeout);
343 * We are going to simply delete the existing semaphore and
  /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
sanitizer_mutex.h 67 // Semaphore provides an OS-dependent way to park/unpark threads.
70 class Semaphore {
72 constexpr Semaphore() {}
73 Semaphore(const Semaphore &) = delete;
74 void operator=(const Semaphore &) = delete;
318 Semaphore writers_;
319 Semaphore readers_;
sanitizer_mutex.cpp 31 void Semaphore::Wait() {
45 void Semaphore::Post(u32 count) {
  /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
sanitizer_mutex.h 69 // Semaphore provides an OS-dependent way to park/unpark threads.
72 class Semaphore {
74 constexpr Semaphore() {}
75 Semaphore(const Semaphore &) = delete;
76 void operator=(const Semaphore &) = delete;
334 Semaphore writers_;
335 Semaphore readers_;
sanitizer_mutex.cpp 31 void Semaphore::Wait() {
45 void Semaphore::Post(u32 count) {
sanitizer_stackdepot.cpp 117 Semaphore semaphore_ = {};
  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sync/
semaphore.d 2 * The semaphore module provides a general use semaphore for synchronization.
15 module core.sync.semaphore;
43 import core.sys.darwin.mach.semaphore;
50 import core.sys.posix.semaphore;
59 // Semaphore
68 * This class represents a general counting semaphore as concieved by Edsger
73 class Semaphore
81 * Initializes a semaphore object with the specified initial count.
84 * count = The initial count for the semaphore
    [all...]
rwmutex.d 661 import core.atomic, core.thread, core.sync.semaphore;
666 scope rdSemA = new Semaphore, rdSemB = new Semaphore,
667 wrSemA = new Semaphore, wrSemB = new Semaphore;
873 import core.atomic, core.thread, core.sync.semaphore;
878 scope rdSemA = new Semaphore, rdSemB = new Semaphore,
879 wrSemA = new Semaphore, wrSemB = new Semaphore;
    [all...]
condition.d 25 import core.sync.semaphore;
589 HANDLE m_blockLock; // auto-reset event (now semaphore)
590 HANDLE m_blockQueue; // auto-reset event (now semaphore)
613 import core.sync.semaphore;
620 auto semDone = new Semaphore;
779 import core.sync.semaphore;
786 auto semDone = new Semaphore;
  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/thread/
osthread.d 145 import core.sys.posix.semaphore;
923 import core.sync.semaphore;
1142 import core.sync.semaphore;
1143 auto sem = new Semaphore();
1167 import core.sync.semaphore;
1169 auto sema = new Semaphore(),
1170 semb = new Semaphore();
1218 import core.sync.semaphore;
1221 auto sema = new Semaphore(),
1222 semb = new Semaphore();
    [all...]
  /src/sys/external/bsd/acpica/dist/include/
acinterp.h 455 ACPI_SEMAPHORE Semaphore,
  /src/external/gpl3/gcc.old/dist/libsanitizer/tsan/
tsan_interceptors_posix.cpp 964 Semaphore created;
965 Semaphore started;
  /src/external/gpl3/gcc/dist/libsanitizer/tsan/
tsan_interceptors_posix.cpp 989 Semaphore created;
990 Semaphore started;

Completed in 39 milliseconds