/external/compiler-rt/test/tsan/ |
thread_detach.c | 5 barrier_wait(&barrier); 10 barrier_init(&barrier, 2); 13 barrier_wait(&barrier);
|
thread_leak3.c | 5 barrier_wait(&barrier); 10 barrier_init(&barrier, 2); 13 barrier_wait(&barrier);
|
tiny_race.c | 7 barrier_wait(&barrier); 13 barrier_init(&barrier, 2); 17 barrier_wait(&barrier);
|
test.h | 14 // TSan-invisible barrier. 22 void __tsan_testonly_barrier_init(invisible_barrier_t *barrier, 24 void __tsan_testonly_barrier_wait(invisible_barrier_t *barrier); 29 static inline void barrier_init(invisible_barrier_t *barrier, unsigned count) { 30 __tsan_testonly_barrier_init(barrier, count); 33 static inline void barrier_wait(invisible_barrier_t *barrier) { 34 __tsan_testonly_barrier_wait(barrier); 37 // Default instance of the barrier, but a test can declare more manually. 38 invisible_barrier_t barrier; variable
|
atomic_stack.cc | 7 barrier_wait(&barrier); 14 barrier_wait(&barrier); 19 barrier_init(&barrier, 2);
|
halt_on_error.cc | 7 barrier_wait(&barrier); 13 barrier_init(&barrier, 2); 18 barrier_wait(&barrier);
|
heap_race.cc | 9 barrier_wait(&barrier); 14 barrier_init(&barrier, 2); 18 barrier_wait(&barrier);
|
java_race.cc | 5 barrier_wait(&barrier); 11 barrier_init(&barrier, 2); 20 barrier_wait(&barrier);
|
malloc_stack.cc | 7 barrier_wait(&barrier); 14 barrier_init(&barrier, 2); 18 barrier_wait(&barrier);
|
race_on_barrier.c | 13 barrier_wait(&barrier); 19 barrier_wait(&barrier); 25 barrier_init(&barrier, 2);
|
race_on_puts.cc | 8 barrier_wait(&barrier); 13 barrier_wait(&barrier); 19 barrier_init(&barrier, 2);
|
race_top_suppression.cc | 14 barrier_wait(&barrier); 20 barrier_init(&barrier, 2); 24 barrier_wait(&barrier);
|
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);
|
/art/runtime/ |
barrier.cc | 17 #include "barrier.h" 26 Barrier::Barrier(int count) 28 lock_("GC barrier lock", kThreadSuspendCountLock), 29 condition_("GC barrier condition", lock_) { 32 void Barrier::Pass(Thread* self) { 37 void Barrier::Wait(Thread* self) { 41 void Barrier::Init(Thread* self, int count) { 46 void Barrier::Increment(Thread* self, int delta) { 51 // then all the threads have already passed the barrier. I [all...] |
/art/test/102-concurrent-gc/ |
info.txt | 2 concurrent GC should locate the "hidden" objects through a write-barrier.
|
/external/autotest/client/bin/self-test/tests/ |
112-barrier-unordered-40x-out | 0 barrier: 127.0.0.1#P10 master said: ping 2 barrier: 127.0.0.1#P10 master said: rlse 3 barrier: 127.0.0.1#P10 master said: wait 4 barrier: 127.0.0.1#P10 members: 127.0.0.1#P1,127.0.0.1#P10,127.0.0.1#P11,127.0.0.1#P12,127.0.0.1#P13,127.0.0.1#P14,127.0.0.1#P15,127.0.0.1#P16,127.0.0.1#P17,127.0.0.1#P18,127.0.0.1#P19,127.0.0.1#P2,127.0.0.1#P20,127.0.0.1#P21,127.0.0.1#P22,127.0.0.1#P23,127.0.0.1#P24,127.0.0.1#P25,127.0.0.1#P26,127.0.0.1#P27,127.0.0.1#P28,127.0.0.1#P29,127.0.0.1#P3,127.0.0.1#P30,127.0.0.1#P31,127.0.0.1#P32,127.0.0.1#P33,127.0.0.1#P34,127.0.0.1#P35,127.0.0.1#P36,127.0.0.1#P37,127.0.0.1#P38,127.0.0.1#P39,127.0.0.1#P4,127.0.0.1#P40,127.0.0.1#P5,127.0.0.1#P6,127.0.0.1#P7,127.0.0.1#P8,127.0.0.1#P9 5 barrier: 127.0.0.1#P10 pong 6 barrier: 127.0.0.1#P10 selected as slave, master=127.0.0.1 7 barrier: 127.0.0.1#P10 tag=here port=63000 timeout=60 start=NNN 8 barrier: 127.0.0.1#P10 was released, waiting for close 9 barrier: 127.0.0.1#P11 master said: ping 10 barrier: 127.0.0.1#P11 master said: rls [all...] |
/device/intel/edison/ |
fstab.device | 1 /dev/block/by-name/system /system ext4 ro,barrier=1,discard wait,slotselect 2 /dev/block/by-name/userdata /data ext4 nosuid,nodev,barrier=1,noauto_da_alloc,discard wait,check,encryptable=footer
|
/external/valgrind/drd/tests/ |
pth_barrier_thr_cr.supp | 2 number-of-concurrent-pthead_barrier_wait()-calls-exceeds-barrier-count 7 number-of-concurrent-pthead_barrier_wait()-calls-exceeds-barrier-count
|
bar_bad.stderr.exp | 3 initialise a barrier with zero count 4 pthread_barrier_init: 'count' argument is zero: barrier 0x........ 9 initialise a barrier twice 10 Barrier reinitialization: barrier 0x........ 13 barrier 0x........ was first observed at: 18 initialise a barrier which has threads waiting on it 19 Barrier reinitialization: barrier 0x........ 22 barrier 0x........ was first observed at [all...] |
/external/valgrind/helgrind/tests/ |
bar_bad.c | 3 uses of the barrier functions shown. */ 36 /* initialise a barrier with a zero count */ 37 fprintf(stderr, "\ninitialise a barrier with zero count\n"); 41 /* initialise a barrier twice */ 42 fprintf(stderr, "\ninitialise a barrier twice\n"); 47 /* initialise a barrier which has threads waiting on it. 49 fprintf(stderr, "\ninitialise a barrier which has threads waiting on it\n"); 52 /* create a thread, whose only purpose is to block on the barrier */ 59 /* destroy a barrier that has threads waiting at it */ 60 fprintf(stderr, "\ndestroy a barrier that has waiting threads\n") [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
CyclicBarrierTest.java | 41 void awaitNumberWaiting(CyclicBarrier barrier, int numberOfWaiters) { 43 while (barrier.getNumberWaiting() != numberOfWaiters) { 80 * A 1-party barrier triggers after single await 92 * The supplied barrier action is run at barrier 106 * A 2-party/thread barrier triggers after both threads invoke await 252 * A reset of an active barrier causes waiting threads to throw 280 * A reset before threads enter barrier does not throw 302 * All threads block while a barrier is broken. 331 * Reset of a non-broken barrier does not break barrie 334 final CyclicBarrier barrier = new CyclicBarrier(3); local 365 final CyclicBarrier barrier = new CyclicBarrier(3); local 398 final CyclicBarrier barrier = new CyclicBarrier(3); local 434 final CyclicBarrier barrier = local [all...] |
/external/google-breakpad/src/common/android/testing/ |
pthread_fixes.h | 53 int pthread_barrier_init(pthread_barrier_t* barrier, 56 barrier->count = count; 57 pthread_mutex_init(&barrier->mutex, NULL); 58 pthread_cond_init(&barrier->cond, NULL); 62 int pthread_barrier_wait(pthread_barrier_t* barrier) { 64 pthread_mutex_lock(&barrier->mutex); 67 if (--barrier->count == 0) { 68 // First thread to reach the barrier 69 pthread_cond_broadcast(&barrier->cond); 70 pthread_mutex_unlock(&barrier->mutex) [all...] |
/device/asus/fugu/ |
fstab.fugu | 2 /dev/block/by-name/cache /cache ext4 nosuid,nodev,noatime,barrier=1,data=ordered wait,check 3 /dev/block/by-name/userdata /data ext4 nosuid,nodev,noatime,discard,barrier=1,data=ordered,noauto_da_alloc wait,check 4 /dev/block/by-name/factory /factory ext4 nosuid,nodev,noatime,barrier=1,data=ordered wait
|
/external/autotest/client/tests/barriertest/ |
barriertest.py | 5 from autotest_lib.client.common_lib import barrier, error 14 server = barrier.listen_server() 16 # Basic barrier rendezvous test. 17 self.job.barrier(our_addr, 'First', timeout=timeout, 23 self.job.barrier(our_addr, 'Second', timeout=timeout, 31 self.job.barrier(our_addr, 'WillAbort', timeout=timeout, 37 # We did get an error from the barrier, but was is acceptable or 42 raise error.TestFail('Explicit barrier rendezvous abort failed.') 47 self.job.barrier(our_addr, 'FinalSync', timeout=timeout, 55 self.job.barrier(our_addr, 'WillAbortServers', timeout=timeout [all...] |