OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sls_mu2
(Results
1 - 2
of
2
) sorted by null
/external/clang/test/PCH/
thread-safety-attrs.cpp
100
Mutex
sls_mu2
__attribute__((acquired_after(sls_mu)));
variable
136
sls_mu2
.Lock();
138
sls_mu2
.Unlock();
155
sls_mu2
.Lock();
156
sls_mu2
.Unlock();
230
sls_mu2
.Lock(); // expected-note{{mutex acquired here}}
232
// expected-warning{{mutex '
sls_mu2
' is not locked on every path through here}}
/external/clang/test/SemaCXX/
warn-thread-safety-analysis.cpp
100
Mutex
sls_mu2
__attribute__((acquired_after(sls_mu)));
variable
134
sls_mu2
.Lock();
136
sls_mu2
.Unlock();
153
sls_mu2
.Lock();
154
sls_mu2
.Unlock();
228
sls_mu2
.Lock(); // expected-note{{mutex acquired here}}
230
// expected-warning{{mutex '
sls_mu2
' is not locked on every path through here}}
384
int *pgb_field __attribute__((guarded_by(
sls_mu2
)))
388
// expected-warning {{writing variable 'pgb_field' requires locking '
sls_mu2
' exclusively}}
389
*pgb_field = x; // expected-warning {{reading variable 'pgb_field' requires locking '
sls_mu2
'}} \
[
all
...]
Completed in 68 milliseconds