Julian Seward
e6c318c531
When creating a child thread, initially set its os_state.threadgroup
...
to have the same value as the parent. This avoids exit races leading
to hangs and strange behaviour in heavily multithreaded apps, in the
situation where threads are rapidly being created, and at the same
time an existing thread does sys_exit_group so as to terminate the
entire process. Thanks to Konstantin S for chasing this down to a
small test case. Fixes #226116 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11053
2010-02-22 11:03:10 +00:00
..
2010-01-03 10:14:03 +00:00
2010-01-01 11:59:33 +00:00
2010-02-15 12:00:28 +00:00
2009-08-17 16:36:11 +00:00
2010-01-01 11:59:33 +00:00
2010-02-15 09:54:37 +00:00
2009-06-24 00:37:09 +00:00
2010-01-01 11:59:33 +00:00
2010-01-28 15:23:54 +00:00
2010-01-01 11:59:33 +00:00
2010-02-22 11:03:10 +00:00
2009-07-15 14:48:32 +00:00
2009-03-10 22:02:09 +00:00
2009-03-10 22:02:09 +00:00
2009-07-22 22:41:38 +00:00
2010-01-01 11:59:33 +00:00
2009-05-10 22:42:19 +00:00
2009-03-10 22:02:09 +00:00
2009-07-15 14:48:32 +00:00
2010-01-01 12:44:12 +00:00
2010-01-01 11:59:33 +00:00
2010-01-01 11:59:33 +00:00
2009-08-15 23:33:04 +00:00
2009-07-15 14:48:32 +00:00
2009-08-10 07:36:54 +00:00
2010-01-02 13:24:58 +00:00
2009-11-03 21:14:31 +00:00
2010-01-01 11:59:33 +00:00
2010-02-15 10:07:05 +00:00
2010-01-01 11:59:33 +00:00
2009-05-28 01:53:07 +00:00
2010-01-02 13:24:58 +00:00
2010-01-15 10:57:57 +00:00
2009-07-15 14:48:32 +00:00
2009-11-05 08:55:13 +00:00
2009-03-10 22:02:09 +00:00
2010-01-01 11:59:33 +00:00
2009-03-10 22:02:09 +00:00
2010-01-02 13:24:58 +00:00
2009-03-10 22:02:09 +00:00
2009-07-15 14:48:32 +00:00
2010-01-02 13:24:58 +00:00
2009-06-24 00:37:09 +00:00
2009-06-24 00:37:09 +00:00
2010-01-01 11:59:33 +00:00
2009-03-10 22:02:09 +00:00
2009-08-15 22:41:51 +00:00
2010-01-01 11:59:33 +00:00
2010-01-01 11:59:33 +00:00
2010-01-01 11:59:33 +00:00
2009-05-28 01:53:07 +00:00
2009-06-03 06:50:06 +00:00
2009-03-10 22:02:09 +00:00
2009-08-15 22:41:51 +00:00
2010-01-01 11:59:33 +00:00
2007-03-19 18:38:55 +00:00
2009-05-08 00:39:31 +00:00
2009-06-24 08:32:42 +00:00
2009-04-24 04:57:07 +00:00
2010-01-01 11:59:33 +00:00
2009-03-10 22:02:09 +00:00
2010-01-28 15:23:54 +00:00
2009-03-10 22:02:09 +00:00
2009-03-10 22:02:09 +00:00
2009-03-10 22:02:09 +00:00
2009-03-10 22:02:09 +00:00
2010-01-02 13:24:58 +00:00
2009-08-23 11:11:36 +00:00
2009-03-10 22:02:09 +00:00
2009-03-10 22:02:09 +00:00
2009-03-10 22:02:09 +00:00
2009-03-10 22:02:09 +00:00
2009-03-10 22:02:09 +00:00
2009-03-10 22:02:09 +00:00
2009-05-28 01:53:07 +00:00
2010-01-01 11:59:33 +00:00
2009-03-10 22:02:09 +00:00
2009-08-25 20:15:41 +00:00
2009-07-15 14:48:32 +00:00
2009-03-10 22:02:09 +00:00
2009-05-20 07:10:48 +00:00
2009-06-24 00:37:09 +00:00
2010-01-01 11:59:33 +00:00
2010-01-01 11:59:33 +00:00
2009-11-05 08:55:13 +00:00
2009-03-10 22:02:09 +00:00
2009-10-29 09:27:11 +00:00
2009-03-10 22:02:09 +00:00
2009-05-28 01:53:07 +00:00
2009-03-10 22:02:09 +00:00
2009-03-10 22:02:09 +00:00
2009-07-01 08:10:49 +00:00
2009-03-10 22:02:09 +00:00
2009-03-10 22:02:09 +00:00
2010-01-01 11:59:33 +00:00
2010-01-01 11:59:33 +00:00
2009-05-28 01:53:07 +00:00
2010-01-01 11:59:33 +00:00
2009-08-15 22:41:51 +00:00
2010-01-01 11:59:33 +00:00
2009-03-10 22:02:09 +00:00
2010-01-01 11:59:33 +00:00
2009-03-10 22:02:09 +00:00
2009-06-24 00:37:09 +00:00
2009-05-18 02:12:08 +00:00
2009-06-03 06:50:06 +00:00
2009-06-03 06:50:06 +00:00
2009-03-10 22:02:09 +00:00
2009-03-10 22:02:09 +00:00
2009-12-29 17:30:16 +00:00