OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mx2
(Results
1 - 4
of
4
) sorted by null
/external/valgrind/main/helgrind/tests/
tc15_laog_lockdel.c
14
pthread_mutex_t *mx1, *
mx2
;
local
17
mx2
= malloc(sizeof(pthread_mutex_t));
20
assert(
mx2
);
23
r = pthread_mutex_init(
mx2
, NULL ); assert(r==0);
28
r = pthread_mutex_lock(
mx2
); assert(r==0);
31
r = pthread_mutex_unlock(
mx2
); assert(r==0);
35
r = pthread_mutex_lock(
mx2
); assert(r==0); /* error */
39
r = pthread_mutex_unlock(
mx2
); assert(r==0);
46
pthread_mutex_destroy(
mx2
);
50
r = pthread_mutex_init(
mx2
, NULL ); assert(r==0)
[
all
...]
tc13_laog1.c
13
pthread_mutex_t mx1,
mx2
;
local
15
r = pthread_mutex_init( &
mx2
, NULL ); assert(r==0);
18
r = pthread_mutex_lock( &
mx2
); assert(r==0);
21
r = pthread_mutex_unlock( &
mx2
); assert(r==0);
23
r = pthread_mutex_lock( &
mx2
); assert(r==0); /* error */
27
r = pthread_mutex_unlock( &
mx2
); assert(r==0);
30
r = pthread_mutex_destroy( &
mx2
);
tc09_bad_unlock.c
18
pthread_mutex_t mx1,
mx2
;
local
31
pthread_mutex_init( &
mx2
, NULL );
32
pthread_mutex_lock( &
mx2
);
35
pthread_create( &child, NULL, child_fn, (void*)&
mx2
);
44
frame is removed whilst
mx2
is still locked. */
tc20_verifywrap.c
44
pthread_mutex_t mx,
mx2
, mx3, mx4;
local
100
r= pthread_mutex_init( &
mx2
, NULL ); assert(!r);
101
r= pthread_mutex_lock( &
mx2
); assert(!r);
102
r= pthread_mutex_destroy( &
mx2
); assert(r);
Completed in 48 milliseconds