K 10 svn:author V 3 kib K 8 svn:date V 27 2016-12-06T17:13:17.145884Z K 7 svn:log V 483 Do not leak curthread->inact_mtx when cancelling in pthread_cond_wait(3). Leave robust-protected region before checking for cancellation by calling _thr_testcancel(). Otherwise, if cancelling request was pending, the cancel handler is called with the dandling inact_mtx, which triggers an assert if any mutex operation is performed by the handler. Reported and tested by: Dimitri Staessens Sponsored by: The FreeBSD Foundation MFC after: 1 week END