Tom Hughes 73500af01e When cancelling a thread that is waiting on a condition variable we
need to relock the associated mutex before running the cancellation
handlers.

This patch ensures that the mutex is reaquired in the above case and
also makes pthread_join and pthread_cond_wait act as cancellation points
as required by the POSIX threads standard.

Based on patch from Joseph Link <joelink@joelink.net>.

CCMAIL: 81297-done@bugs.kde.org


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2409
2004-06-13 12:07:53 +00:00
..
2004-03-13 02:56:29 +00:00
2003-07-04 16:18:15 +00:00
2004-03-13 02:49:49 +00:00
2004-02-05 14:27:36 +00:00
2003-12-17 13:28:12 +00:00
2002-12-15 02:05:02 +00:00
2004-04-16 23:02:29 +00:00
2004-04-16 23:02:29 +00:00
2004-01-04 03:46:11 +00:00
2004-03-06 00:14:42 +00:00
2004-01-26 16:48:06 +00:00
2004-05-04 11:25:34 +00:00
2004-04-16 23:02:29 +00:00
2004-06-13 09:55:22 +00:00
2004-04-16 23:02:29 +00:00
2004-06-03 17:12:07 +00:00
2004-01-26 17:24:42 +00:00