A surprise with mutexes and reference counts
A surprise with mutexes and reference counts
Posted Dec 5, 2013 22:00 UTC (Thu) by bfields (subscriber, #19510)In reply to: A surprise with mutexes and reference counts by bfields
Parent article: A surprise with mutexes and reference counts
(But yes, agreed on the "unsafe in general" comment, I would've thought the same. While also sympathizing with anyone caught by surprise by the fact that another user could acquire and drop the lock while we still haven't returned from the unlock!)