Home
last modified time | relevance | path

Searched refs:semaphore (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/clang/test/Analysis/
H A Dgcdantipatternchecker_test.m37 dispatch_semaphore_wait(sema, 100); // expected-warning{{Waiting on a callback using a semaphore}}
57 …dispatch_semaphore_wait(sema1, 100); // expected-warning{{Waiting on a callback using a semaphore}}
64 …dispatch_semaphore_wait(sema2, 100); // expected-warning{{Waiting on a callback using a semaphore}}
74 …dispatch_semaphore_wait(sema1, 100); // expected-warning{{Waiting on a callback using a semaphore}}
75 …dispatch_semaphore_wait(sema1, 100); // expected-warning{{Waiting on a callback using a semaphore}}
95 dispatch_semaphore_wait(sema, 100); // expected-warning{{Waiting on a callback using a semaphore}}
110 dispatch_semaphore_wait(sema, 100); // expected-warning{{Waiting on a callback using a semaphore}}
120 dispatch_semaphore_wait(sema, 100); // expected-warning{{Waiting on a callback using a semaphore}}
130 dispatch_semaphore_wait(sema, 100); // expected-warning{{Waiting on a callback using a semaphore}}
257 dispatch_semaphore_wait(sema, 100); // expected-warning{{Waiting on a callback using a semaphore}}
[all …]
H A Dstack-capture-leak-arc.mm166 dispatch_semaphore_t semaphore = dispatch_semaphore_create(0);
170 dispatch_semaphore_signal(semaphore);
175 dispatch_semaphore_wait(semaphore, 1000);
/llvm-project-15.0.7/libcxx/include/
H A Dsemaphore14 semaphore synopsis
63 # error "<semaphore> is not supported since libc++ has been configured without support for threads."
76 It is a typical Dijkstra semaphore algorithm over atomics, wait and notify
H A Dversion155 __cpp_lib_semaphore 201907L <semaphore>
H A D__availability145 // <semaphore>, and notification functions on std::atomic.
H A DCMakeLists.txt754 semaphore
H A Dmodule.modulemap.in1016 module semaphore {
1018 header "semaphore"
/llvm-project-15.0.7/libcxx/test/libcxx/transitive_includes/
H A Dexpected.semaphore13 semaphore
/llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/
H A DGenealogy.cpp102 __block dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); in GetActivities() local
241 dispatch_semaphore_signal(semaphore); in GetActivities()
247 bool success = dispatch_semaphore_wait(semaphore, timeout) == 0; in GetActivities()
H A DMachProcess.mm132 __block dispatch_semaphore_t semaphore = dispatch_semaphore_create(0);
194 dispatch_semaphore_signal(semaphore);
204 long success = dispatch_semaphore_wait(semaphore, timeout) == 0;
206 dispatch_release(semaphore);
2874 __block dispatch_semaphore_t semaphore = dispatch_semaphore_create(0);
2894 dispatch_semaphore_signal(semaphore);
2902 long success = dispatch_semaphore_wait(semaphore, timeout) == 0;
2916 dispatch_release(semaphore);
2975 dispatch_semaphore_signal(semaphore);
2983 long success = dispatch_semaphore_wait(semaphore, timeout) == 0;
[all …]
/llvm-project-15.0.7/llvm/utils/gn/secondary/libcxx/include/
H A DBUILD.gn814 "semaphore",
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc6704 // Workaround a bug in glibc's "old" semaphore implementation by