model: add improved (?) deadlock detection
authorBrian Norris <banorris@uci.edu>
Sun, 3 Mar 2013 07:53:58 +0000 (23:53 -0800)
committerBrian Norris <banorris@uci.edu>
Sun, 3 Mar 2013 07:53:58 +0000 (23:53 -0800)
commita26fa96048fab9b13239e49e37ed8cf8c39583c9
tree883982eb7065fa0704b2270d7583a10624a9faf7
parent0a650d68e478aff11bf8b72ee04ed7cc6a102ce8
model: add improved (?) deadlock detection

This proactively detects cyclic waits in threads, using join or lock
information. It does not account for wait yet, but that is covered by
is_deadlocked(), at least in some cases.
model.cc
model.h