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 101 Mutex sls_mu2 __attribute__((acquired_after(sls_mu))); variable
135 sls_mu2.Lock();
137 sls_mu2.Unlock();
154 sls_mu2.Lock();
155 sls_mu2.Unlock();
229 sls_mu2.Lock(); // expected-note{{mutex acquired here}}
231 // expected-warning{{mutex 'sls_mu2' is not held on every path through here}}
385 int *pgb_field __attribute__((guarded_by(sls_mu2)))
389 // expected-warning {{writing variable 'pgb_field' requires holding mutex 'sls_mu2' exclusively}}
390 *pgb_field = x; // expected-warning {{reading variable 'pgb_field' requires holding mutex 'sls_mu2'}} \
    [all...]

Completed in 75 milliseconds