Home
last modified time | relevance | path

Searched refs:mutexes (Results 1 – 25 of 38) sorted by relevance

12

/external/ltp/testcases/realtime/func/pi-tests/
Dsbrk_mutex.c55 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/
Dtsan_report.cc59 , 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 …]
Dtsan_debugging.cc75 *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()
Dtsan_rtl_report.cc259 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()
Dtsan_report.h110 Vector<ReportMutex*> mutexes; variable
Dtsan_flags.inc37 "Report incorrect usages of mutexes and mutex annotations?")
/external/compiler-rt/lib/tsan/benchmarks/
Dvts_many_threads_bench.cc43 Mutex mutexes[kNumMutexes]; variable
64 mutexes[(offset + i) % kNumMutexes].Lock(); in Thread()
65 mutexes[(offset + i) % kNumMutexes].Unlock(); in Thread()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_init/
Dcoverage.txt5 2 NO *Looking for indicators to judge if initialized mutexes
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/
Dcoverage.txt13 NOTE: In a lot of these test, I didn't make use of semaphores or mutexes, but
/external/bison/m4/
Dlock.m426 error "No, in FreeBSD 4.0 recursive mutexes actually don't work."
/external/autotest/client/tests/pi_tests/
Dcontrol9 mutexes resolve the situation. Three worker threads will be created from the
/external/clang/docs/
DThreadSafetyAnalysis.rst73 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/valgrind/drd/tests/
Dpth_inconsistent_cond_wait.stderr.exp13 Inconsistent association of condition variable and mutex: condition variable 0x........, mutexes 0x…
Dpth_inconsistent_cond_wait.stderr.exp23 Inconsistent association of condition variable and mutex: condition variable 0x........, mutexes 0x…
/external/ltp/testcases/realtime/
D00_Descriptions.txt141 - 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/valgrind/docs/internals/
D3_4_BUGSTATUS.txt40 186963 Report mutexes humanic names
D3_8_BUGSTATUS.txt249 313275 False positives for shared memory semaphores/mutexes/conditions
254 semaphores, mutexes, conditions
/external/mesa3d/docs/
DMESA_multithread_makecurrent.spec74 mutexes.
/external/libunwind/
DTODO79 + use pthread-mutexes where necessary, atomic ops where possible
/external/syslinux/core/lwip/
DUPGRADING62 binary semaphores instead of mutexes - as before)
/external/fio/
DREADME331 Fio uses pthread mutexes for signalling and locking and FreeBSD does not
332 support process shared pthread mutexes. As a result, only threads are
/external/ltp/testcases/kernel/io/disktest/
DCHANGELOG171 been fixed so that each target holds its own set of mutexes.
/external/clang/include/clang/StaticAnalyzer/Checkers/
DCheckers.td454 HelpText<"Check for nil pointers used as mutexes for @synchronized">,
/external/libvncserver/
DREADME338 This, however, is how I implemented mutexes in case you don't need pthreads,
/external/squashfs-tools/
DCHANGES294 const structures and mutexes rather than older semaphores.

12