/external/compiler-rt/test/tsan/ |
lots_of_threads.c | 8 barrier_wait(&barrier); 14 barrier_init(&barrier, kThreads + 1); 23 barrier_wait(&barrier);
|
race_on_barrier.c | 13 barrier_wait(&barrier); 19 barrier_wait(&barrier); 25 barrier_init(&barrier, 2);
|
race_with_finished_thread.cc | 14 barrier_wait(&barrier); 19 barrier_wait(&barrier); 26 barrier_init(&barrier, 2);
|
simple_race.c | 7 barrier_wait(&barrier); 14 barrier_wait(&barrier); 19 barrier_init(&barrier, 2);
|
simple_race.cc | 7 barrier_wait(&barrier); 14 barrier_wait(&barrier); 19 barrier_init(&barrier, 2);
|
suppressions_race.cc | 7 barrier_wait(&barrier); 14 barrier_wait(&barrier); 19 barrier_init(&barrier, 2);
|
suppressions_race2.cc | 8 barrier_wait(&barrier); 13 barrier_wait(&barrier); 19 barrier_init(&barrier, 2);
|
write_in_reader_lock.cc | 10 barrier_wait(&barrier); 18 barrier_init(&barrier, 2); 26 barrier_wait(&barrier);
|
annotate_happens_before.cc | 31 barrier_wait(&barrier); 32 ANNOTATE_HAPPENS_AFTER(&barrier); 39 ANNOTATE_HAPPENS_BEFORE(&barrier); 40 barrier_wait(&barrier); 45 barrier_init(&barrier, 2);
|
java_lock_rec_race.cc | 17 barrier_wait(&barrier); 18 barrier_wait(&barrier); 27 barrier_init(&barrier, 2); 38 barrier_wait(&barrier); 42 barrier_wait(&barrier);
|
must_deadlock.cc | 13 pthread_barrier_t barrier; variable 18 pthread_barrier_wait(&barrier); 29 pthread_barrier_init(&barrier, 0, 2); 39 pthread_barrier_wait(&barrier); 48 pthread_barrier_destroy(&barrier);
|
aligned_vs_unaligned_race.cc | 11 barrier_wait(&barrier); 16 barrier_wait(&barrier); 25 barrier_init(&barrier, 2);
|
benign_race.cc | 19 barrier_wait(&barrier); 24 barrier_init(&barrier, 2); 32 barrier_wait(&barrier);
|
cond_cancel.c | 27 barrier_wait(&barrier); 35 barrier_init(&barrier, 2); 43 barrier_wait(&barrier);
|
fd_close_norace.cc | 10 barrier_wait(&barrier); 15 barrier_wait(&barrier); 22 barrier_init(&barrier, 2);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_destroy/ |
1-1.c | 10 * The pthread_barrier_destroy() function shall destroy the barrier 11 * referenced by barrier and release any resources used by the barrier. 14 * 1. Main initialize barrier with count 2 15 * 2. Main destroy the barrier 27 static pthread_barrier_t barrier; variable 36 if (pthread_barrier_init(&barrier, NULL, 2) != 0) { 42 rc = pthread_barrier_destroy(&barrier);
|
/external/valgrind/drd/ |
drd_barrier.h | 25 /* Barrier state information. */ 41 void DRD_(barrier_init)(const Addr barrier, 44 void DRD_(barrier_destroy)(const Addr barrier, const BarrierT barrier_type); 45 void DRD_(barrier_pre_wait)(const DrdThreadId tid, const Addr barrier, 47 void DRD_(barrier_post_wait)(const DrdThreadId tid, const Addr barrier,
|
/prebuilts/go/darwin-x86/test/ |
notinheap3.go | 7 // Test write barrier elimination for notinheap. 42 v1.x = nil // no barrier 43 v2.x = nil // ERROR "write barrier" 44 v1.s = []nih(nil) // no barrier 45 v2.s = []ih(nil) // ERROR "write barrier" 50 v1 = t1{x: nil} // no barrier 51 v2 = t2{x: nil} // ERROR "write barrier" 56 copy(v1s, v1s[1:]) // no barrier 57 copy(v2s, v2s[1:]) // ERROR "write barrier" 58 _ = append(v1s, v1s...) // no barrier [all...] |
/prebuilts/go/linux-x86/test/ |
notinheap3.go | 7 // Test write barrier elimination for notinheap. 42 v1.x = nil // no barrier 43 v2.x = nil // ERROR "write barrier" 44 v1.s = []nih(nil) // no barrier 45 v2.s = []ih(nil) // ERROR "write barrier" 50 v1 = t1{x: nil} // no barrier 51 v2 = t2{x: nil} // ERROR "write barrier" 56 copy(v1s, v1s[1:]) // no barrier 57 copy(v2s, v2s[1:]) // ERROR "write barrier" 58 _ = append(v1s, v1s...) // no barrier [all...] |
/external/clang/test/OpenMP/ |
barrier_codegen.cpp | 18 #pragma omp barrier 25 #pragma omp barrier
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
NFAConversionThread.java | 30 import org.antlr.misc.Barrier; 38 Barrier barrier; field in class:NFAConversionThread 40 Barrier barrier, 45 this.barrier = barrier; 58 barrier.waitForRelease();
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_init/ |
1-1.c | 11 * required to use the barrier referenced by barrier and shall initialize 12 * the barrier with attributes referenced by attr. If attr is NULL, 13 * the default barrier attributes shall be used; 14 * the effect is the same as passing the address of a default barrier attributes object. 30 static pthread_barrier_t barrier; variable 37 /* Intilized barrier with NULL attribute, check that this can be done. */ 38 rc = pthread_barrier_init(&barrier, NULL, COUNT); 47 if (pthread_barrier_destroy(&barrier) != 0) { 53 /* Initialize a barrier attribute object * [all...] |
/external/mesa3d/src/gallium/auxiliary/os/ |
os_thread.h | 31 * Thread, mutex, condition variable, barrier, semaphore and 175 static inline void pipe_barrier_init(pipe_barrier *barrier, unsigned count) 177 pthread_barrier_init(barrier, NULL, count); 180 static inline void pipe_barrier_destroy(pipe_barrier *barrier) 182 pthread_barrier_destroy(barrier); 185 static inline void pipe_barrier_wait(pipe_barrier *barrier) 187 pthread_barrier_wait(barrier); 201 static inline void pipe_barrier_init(pipe_barrier *barrier, unsigned count) 203 barrier->count = count; 204 barrier->waiters = 0 [all...] |
/external/autotest/client/tests/profiler_sync/ |
profiler_sync.py | 6 from autotest_lib.client.common_lib import barrier 23 @param masterid: The master barrier host id where autoserv is running. 28 barrier_server = barrier.listen_server(port=11920) 29 b0 = self.job.barrier(hostid, "sync_profilers", timeout_start, 33 b1 = self.job.barrier(hostid, "start_profilers", timeout_start, 37 b2 = self.job.barrier(hostid, "local_sync_profilers", timeout_sync) 42 b3 = self.job.barrier(hostid, "stop_profilers", timeout_stop, 49 b4 = self.job.barrier(hostid, "finish_profilers", timeout_stop,
|
/external/autotest/server/ |
standalone_profiler.py | 14 from autotest_lib.client.common_lib import barrier 36 @param machines: sequence of all the hostnames involved in the barrier 69 sb = barrier.barrier(_PROF_MASTER, "sync_profilers", 75 sb = barrier.barrier(_PROF_MASTER, "start_profilers", 81 sb = barrier.barrier(_PROF_MASTER, "stop_profilers", 87 sb = barrier.barrier(_PROF_MASTER, "finish_profilers" [all...] |