Pierangelo Masarati writes:
Hallvard B Furuseth wrote:
I've never been sure of the back-monitor locking code.. Do volatile entries get cached?
Of course not, as they're volatile.
Well, such entries are passed to monitor_cache_release(), that's when this potential deadlock could happen.