OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mutexes
(Results
1 - 3
of
3
) sorted by null
/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/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/compiler-rt/lib/tsan/rtl/
tsan_report.h
110
Vector<ReportMutex*>
mutexes
;
member in class:__tsan::ReportDesc
Completed in 86 milliseconds