OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:s_mutex2
(Results
1 - 2
of
2
) sorted by null
/external/valgrind/main/drd/tests/
pth_cancel_locked.c
11
pthread_mutex_t
s_mutex2
;
variable
16
/* Lock
s_mutex2
. */
17
pthread_mutex_lock(&
s_mutex2
);
18
/* Inform the main thread that
s_mutex2
has been locked, and wait for pthread_cancel(). */
32
pthread_mutex_init(&
s_mutex2
, 0);
38
/* Wait until the created thread has locked
s_mutex2
. */
pth_inconsistent_cond_wait.c
2
* associated with two different mutexes (s_mutex1 and
s_mutex2
), and two
40
static pthread_mutex_t
s_mutex2
;
variable
114
PTH_CALL(pthread_mutex_init(&
s_mutex2
, 0));
118
PTH_CALL(pthread_create(&tid2, 0, &thread_func, &
s_mutex2
));
128
PTH_CALL(pthread_mutex_lock(&
s_mutex2
));
129
PTH_CALL(pthread_mutex_unlock(&
s_mutex2
));
Completed in 25 milliseconds