/external/ltp/testcases/realtime/func/pi-tests/ |
D | sbrk_mutex.c | 55 static pthread_mutex_t *mutexes[NUM_MUTEXES]; variable 85 pthread_mutex_unlock(mutexes[i - NUM_CONCURRENT_LOCKS]); in worker_thread() 89 pthread_mutex_lock(mutexes[i]); in worker_thread() 125 if (!(mutexes[m] = malloc(sizeof(pthread_mutex_t)))) { in main() 128 if ((ret = pthread_mutex_init(mutexes[m], &mutexattr))) { in main() 144 if (mutexes[m]) { in main() 145 if ((ret = pthread_mutex_destroy(mutexes[m]))) in main() 147 free(mutexes[m]); in main()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_report.cc | 59 , mutexes(MBlockReportMutex) in ReportDesc() 261 if (rep->mutexes.Size()) in ChooseSummaryStack() 262 return rep->mutexes[0]->stack; in ChooseSummaryStack() 301 for (uptr i = 0; i < rep->mutexes.Size(); i++) in PrintReport() 302 PrintMutexShortWithAddress(rep->mutexes[i], " => "); in PrintReport() 303 PrintMutexShort(rep->mutexes[0], "\n\n"); in PrintReport() 304 CHECK_GT(rep->mutexes.Size(), 0U); in PrintReport() 305 CHECK_EQ(rep->mutexes.Size() * (flags()->second_deadlock_stack ? 2 : 1), in PrintReport() 307 for (uptr i = 0; i < rep->mutexes.Size(); i++) { in PrintReport() 309 PrintMutexShort(rep->mutexes[(i + 1) % rep->mutexes.Size()], in PrintReport() [all …]
|
D | tsan_debugging.cc | 75 *mutex_count = rep->mutexes.Size(); in __tsan_get_report_data() 131 CHECK_LT(idx, rep->mutexes.Size()); in __tsan_get_report_mutex() 132 ReportMutex *mutex = rep->mutexes[idx]; in __tsan_get_report_mutex()
|
D | tsan_rtl_report.cc | 259 for (uptr i = 0; i < rep_->mutexes.Size(); i++) { in AddMutex() 260 if (rep_->mutexes[i]->id == s->uid) in AddMutex() 265 rep_->mutexes.PushBack(rm); in AddMutex() 292 for (uptr i = 0; i < rep_->mutexes.Size(); i++) { in AddDeadMutex() 293 if (rep_->mutexes[i]->id == id) in AddDeadMutex() 298 rep_->mutexes.PushBack(rm); in AddDeadMutex()
|
D | tsan_report.h | 110 Vector<ReportMutex*> mutexes; variable
|
D | tsan_flags.inc | 37 "Report incorrect usages of mutexes and mutex annotations?")
|
/external/tensorflow/tensorflow/core/kernels/ |
D | training_op_helpers.h | 154 std::vector<mutex*> mutexes; in MaybeLockVariableInputMutexesInOrder() local 162 if (std::find(mutexes.begin(), mutexes.end(), mutex) == mutexes.end()) { in MaybeLockVariableInputMutexesInOrder() 163 acquire_order.push_back(mutexes.size()); in MaybeLockVariableInputMutexesInOrder() 164 mutexes.push_back(mutex); in MaybeLockVariableInputMutexesInOrder() 168 [&mutexes](int a, int b) { return mutexes[a] < mutexes[b]; }); in MaybeLockVariableInputMutexesInOrder()
|
/external/bcc/tools/ |
D | deadlock_detector_example.txt | 8 - Nodes in the graph represent mutexes. 14 program will dump the cycle of mutexes, dump the stack traces where each mutex 23 high if the process has many threads and mutexes. You should only run this on 26 Note: This tool does not work for shared mutexes or recursive mutexes. 28 For shared (read-write) mutexes, a deadlock requires a cycle in the wait 29 graph where at least one of the mutexes in the cycle is acquiring exclusive 32 For recursive mutexes, lock() is called multiple times on the same mutex. 177 This is output from a process that has a potential deadlock involving 4 mutexes 236 reconsider the lock ordering. If the mutexes are global or static and debug 282 about the number of mutexes and edges in the mutex wait graph. If you want to [all …]
|
/external/compiler-rt/lib/tsan/benchmarks/ |
D | vts_many_threads_bench.cc | 43 Mutex mutexes[kNumMutexes]; variable 64 mutexes[(offset + i) % kNumMutexes].Lock(); in Thread() 65 mutexes[(offset + i) % kNumMutexes].Unlock(); in Thread()
|
/external/jemalloc_new/include/jemalloc/internal/ |
D | mutex_pool.h | 13 malloc_mutex_t mutexes[MUTEX_POOL_SIZE]; member 23 return &pool->mutexes[hash_result[0] % MUTEX_POOL_SIZE]; in mutex_pool_mutex() 29 malloc_mutex_assert_not_owner(tsdn, &pool->mutexes[i]); in mutex_pool_assert_not_held()
|
/external/jemalloc_new/src/ |
D | mutex_pool.c | 12 if (malloc_mutex_init(&pool->mutexes[i], name, rank, in mutex_pool_init()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_init/ |
D | coverage.txt | 5 2 NO *Looking for indicators to judge if initialized mutexes
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/ |
D | coverage.txt | 13 NOTE: In a lot of these test, I didn't make use of semaphores or mutexes, but
|
/external/clang/docs/ |
D | ThreadSafetyAnalysis.rst | 73 that these are two separate mutexes, in two different objects. 119 capabilities (e.g. the set of mutexes that it has locked.) These act like keys 341 annotate getter methods that return mutexes. 362 declarations, specifically declarations of mutexes or other capabilities. 363 These declarations enforce a particular order in which the mutexes must be 570 ordinary C++ scoping rules. In particular, this means that mutexes and other 593 Good software engineering practice dictates that mutexes should be private 595 its internal implementation. However, private mutexes can sometimes leak into 827 // Defines an annotated interface for mutexes.
|
/external/autotest/client/tests/pi_tests/ |
D | control | 9 mutexes resolve the situation. Three worker threads will be created from the
|
/external/ltp/testcases/realtime/ |
D | 00_Descriptions.txt | 141 - Uses NUM_THREADS to walk through an array of malloc'd pthread mutexes. 149 with different priorities, all fight for holding mutexes. Threads sleep and 236 several slave threads, all fighting for mutexes.
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | cudnn_conv_algorithm_picker.cc | 86 static auto* mutexes = in LockGpu() local 91 auto it = mutexes in LockGpu()
|
/external/mesa3d/docs/specs/ |
D | MESA_multithread_makecurrent.spec | 74 mutexes.
|
/external/libunwind/ |
D | TODO | 79 + use pthread-mutexes where necessary, atomic ops where possible
|
/external/python/cpython3/Doc/library/ |
D | _thread.rst | 18 (also called :dfn:`mutexes` or :dfn:`binary semaphores`) are provided.
|
/external/python/cpython2/Doc/library/ |
D | thread.rst | 23 (also called :dfn:`mutexes` or :dfn:`binary semaphores`) are provided.
|
/external/jemalloc_new/ |
D | ChangeLog | 112 - Fix addresses used for ordering mutexes. (@rkmisra) 219 + stats.mutexes.{ctl,background_thread,prof,reset}. 231 + stats.arenas.i.mutexes.{large,extent_avail,extents_dirty,extents_muzzy, 839 - Correctly detect glibc's adaptive pthread mutexes.
|
/external/ltp/testcases/kernel/io/disktest/ |
D | CHANGELOG | 171 been fixed so that each target holds its own set of mutexes.
|
/external/clang/include/clang/StaticAnalyzer/Checkers/ |
D | Checkers.td | 454 HelpText<"Check for nil pointers used as mutexes for @synchronized">,
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.1rc1.rst | 1012 Fix a leak of OS resources (mutexes or semaphores) when re-initializing a
|