HomeSort by relevance Sort by last modified time
    Searched full:mutexes (Results 1 - 25 of 394) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/ltp/testcases/realtime/func/pi-tests/
sbrk_mutex.c 23 * Create NUM_THREADS to walk through an array of malloc'd pthread mutexes.
34 * 2006-03-01: Changed mutexes to PTHREAD_MUTEX_ROBUST_NP type -Sripathi Kodi
55 static pthread_mutex_t *mutexes[NUM_MUTEXES]; variable
85 pthread_mutex_unlock(mutexes[i - NUM_CONCURRENT_LOCKS]);
89 pthread_mutex_lock(mutexes[i]);
122 /* malloc and initialize the mutexes */
123 printf("allocating and initializing %d mutexes\n", NUM_MUTEXES);
125 if (!(mutexes[m] = malloc(sizeof(pthread_mutex_t)))) {
128 if ((ret = pthread_mutex_init(mutexes[m], &mutexattr))) {
132 printf("mutexes allocated and initialized successfully\n")
    [all...]
  /external/tensorflow/tensorflow/core/kernels/
training_op_helpers.cc 34 // MaybeLockVariableInputMutexesInOrder is a helper function to acquire mutexes
35 // in address order to mitigate deadlock. Returns a vector of acquired mutexes.
38 // mutexes for invalid variable references; in all usages this is followed by
46 std::vector<mutex*> mutexes; local
51 if (std::find(mutexes.begin(), mutexes.end(), mutex) == mutexes.end()) {
52 acquire_order.push_back(mutexes.size());
53 mutexes.push_back(mutex);
57 [&mutexes](int a, int b) { return mutexes[a] < mutexes[b]; })
    [all...]
  /external/linux-kselftest/tools/testing/selftests/locking/
ww_mutex.sh 3 # Runs API tests for struct ww_mutex (Wait/Wound mutexes)
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_init/
assertions.xml 14 mutexes, any function affecting the attributes object (including destruction)
15 shall not affect any previously initialized mutexes.
coverage.txt 5 2 NO *Looking for indicators to judge if initialized mutexes
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_getprotocol/
assertions.xml 30 more mutexes with the PTHREAD_PRIO_INHERIT protocol attribute, it shall
32 thread waiting on any of the mutexes owned by this thread and initialized
37 When a thread owns one or more mutexes initialized with the PTHREAD_PRIO_PROTECT
39 priority ceilings of all the mutexes owned by this thread and initialized with
41 mutexes or not.
58 If a thread simultaneously owns several mutexes initialized with different
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/
coverage.txt 13 NOTE: In a lot of these test, I didn't make use of semaphores or mutexes, but
  /frameworks/av/media/libaaudio/src/fifo/
README.md 2 This does not require mutexes.
  /external/compiler-rt/lib/tsan/rtl/
tsan_report.cc 59 , mutexes(MBlockReportMutex)
141 Printf(" (mutexes:");
261 if (rep->mutexes.Size())
262 return rep->mutexes[0]->stack;
301 for (uptr i = 0; i < rep->mutexes.Size(); i++)
302 PrintMutexShortWithAddress(rep->mutexes[i], " => ");
303 PrintMutexShort(rep->mutexes[0], "\n\n");
304 CHECK_GT(rep->mutexes.Size(), 0U);
305 CHECK_EQ(rep->mutexes.Size() * (flags()->second_deadlock_stack ? 2 : 1),
307 for (uptr i = 0; i < rep->mutexes.Size(); i++)
    [all...]
tsan_mutexset.h 12 // MutexSet holds the set of mutexes currently held by a thread.
23 // Holds limited number of mutexes.
24 // The oldest mutexes are discarded on overflow.
55 // Go does not have mutexes, so do not spend memory and time.
tsan_mutex.cc 23 // The table fixes what mutexes can be locked under what mutexes.
26 // The leaf mutexes can be locked under any other mutexes.
77 // Add leaf mutexes.
131 // Rely on zero initialization because some mutexes can be locked before ctor.
  /external/compiler-rt/test/tsan/
mutexset5.cc 28 // CHECK: (mutexes: write [[M1:M[0-9]+]]):
30 // CHECK: (mutexes: write [[M2:M[0-9]+]]):
mutexset6.cc 33 // CHECK: (mutexes: write [[M1:M[0-9]+]]):
35 // CHECK: (mutexes: write [[M2:M[0-9]+]], read [[M3:M[0-9]+]]):
mutexset1.cc 25 // CHECK: (mutexes: write [[M1:M[0-9]+]]):
mutexset2.cc 26 // CHECK: (mutexes: write [[M1:M[0-9]+]]):
mutexset3.cc 28 // CHECK: (mutexes: write [[M1:M[0-9]+]], write [[M2:M[0-9]+]]):
mutexset4.cc 29 // CHECK: (mutexes: write [[M1:M[0-9]+]], write [[M2:M[0-9]+]]):
mutexset7.cc 37 // CHECK: (mutexes: write [[M1:M[0-9]+]]):
  /frameworks/av/media/libnbaio/
README.txt 13 no mutexes, so safe to use between SCHED_NORMAL and SCHED_FIFO threads
29 no mutexes, so safe to use between SCHED_NORMAL and SCHED_FIFO threads
  /external/icu/icu4c/source/test/intltest/
tsmthred.h 40 * test that mutexes work
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/
3-1.c 9 * mutexes that are statically allocated.
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_setprioceiling/
assertions.xml 11 'Prioceiling' contains the priority ceiling of initialized mutexes. The values of
  /bionic/tests/headers/posix/
pthread_h.c 53 #if !defined(__BIONIC__) // No robust mutexes on Android.
143 #if !defined(__BIONIC__) // No robust mutexes on Android.
147 #if !defined(__BIONIC__) // No robust mutexes on Android.
152 #if !defined(__BIONIC__) // No robust mutexes on Android.
159 #if !defined(__BIONIC__) // No robust mutexes on Android.
164 #if !defined(__BIONIC__) // No robust mutexes on Android.
169 #if !defined(__BIONIC__) // No robust mutexes on Android.
174 #if !defined(__BIONIC__) // No robust mutexes on Android.
  /external/compiler-rt/lib/tsan/benchmarks/
vts_many_threads_bench.cc 43 Mutex mutexes[kNumMutexes]; variable
64 mutexes[(offset + i) % kNumMutexes].Lock();
65 mutexes[(offset + i) % kNumMutexes].Unlock();
  /external/autotest/client/tests/pi_tests/
control 9 mutexes resolve the situation. Three worker threads will be created from the

Completed in 382 milliseconds

1 2 3 4 5 6 7 8 91011>>