You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiler annotations such as acquired_before and acquired_after under -Wthread-safety
in clang give information on expected lock order, but they aren't enforced in runtime.
We could enforce this in runtime by instrumenting code to add edges to the deadlock
detector (a class constructor for instance would be instrumented to add edges to annotated
member locks when created).
Reported by pbos@google.com on 2014-03-05 15:23:32
We'll need a matching feature request for clang explaining how the static information
from thread-safety annotations can be transmitted into the dynamic tool at run-time.
+Delesley, in case he has any thoughts already.
Reported by konstantin.s.serebryany on 2014-03-11 13:33:46
Originally reported on Google Code with ID 50
Reported by
pbos@google.com
on 2014-03-05 15:23:32The text was updated successfully, but these errors were encountered: