HomeSort by relevance Sort by last modified time
    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 held on every path through here}}
  /external/clang/test/SemaCXX/
warn-thread-safety-analysis.cpp 143 Mutex sls_mu2 __attribute__((acquired_after(sls_mu))); variable
177 sls_mu2.Lock();
179 sls_mu2.Unlock();
196 sls_mu2.Lock();
197 sls_mu2.Unlock();
271 sls_mu2.Lock(); // expected-note{{mutex acquired here}}
273 // expected-warning{{mutex 'sls_mu2' is not held on every path through here}}
427 int *pgb_field __attribute__((guarded_by(sls_mu2)))
431 // expected-warning {{writing variable 'pgb_field' requires holding mutex 'sls_mu2' exclusively}}
432 *pgb_field = x; // expected-warning {{reading variable 'pgb_field' requires holding mutex 'sls_mu2'}} \
    [all...]

Completed in 69 milliseconds