Benjamin Otte
ec79146572
Fix thread-safety
...
The n_children variable can be written when locked, while the n_supers
variable is read at any time. As they both share the same bytes,
accessing them is not threadsafe.
This patch puts them into different bytes.
Thanks to Xan Lopez and valgrind for noticing this.
2009-11-20 16:49:47 +01:00
..
2008-09-02 18:40:39 +00:00
2008-09-02 18:40:39 +00:00
2005-08-15 05:00:57 +00:00
2009-03-31 19:39:16 -04:00
2009-04-29 11:17:23 -04:00
2009-04-29 11:17:23 -04:00
2009-02-23 04:30:06 +00:00
2008-06-21 14:00:44 +00:00
2008-07-02 03:43:13 +00:00
2009-02-23 04:30:06 +00:00
2006-08-23 06:45:55 +00:00
2009-03-01 15:42:03 +00:00
2009-07-03 20:50:27 +02:00
2009-09-22 11:22:44 +03:00
2003-09-12 20:33:31 +00:00
2008-07-06 02:01:56 +00:00
2009-10-06 12:27:12 -04:00
2009-10-02 21:02:48 +02:00
2009-09-21 15:39:00 +02:00
2005-07-08 23:04:06 +00:00
2009-04-29 11:17:23 -04:00
2009-10-02 21:02:48 +02:00
2009-02-23 04:30:06 +00:00
2009-02-23 04:30:06 +00:00
2008-07-02 03:43:13 +00:00
2008-06-21 22:16:14 +00:00
2009-03-13 09:22:57 +00:00
2008-07-04 11:10:17 +00:00
2008-06-22 14:53:09 +00:00
2008-06-21 12:18:12 +00:00
2009-11-20 16:49:47 +01:00
2009-10-03 16:17:17 +02:00
2008-12-02 05:14:00 +00:00
2008-06-21 16:35:50 +00:00
2008-07-02 03:43:13 +00:00
2008-06-21 18:20:43 +00:00
2008-08-22 18:23:05 +00:00
2008-06-21 12:45:49 +00:00
2008-07-02 03:43:13 +00:00
2008-06-22 09:45:13 +00:00
2008-06-22 09:53:11 +00:00
2008-06-22 14:53:09 +00:00
2008-08-01 18:36:01 +00:00
2008-06-21 22:16:14 +00:00
2009-09-21 15:39:00 +02:00
2009-09-29 23:08:03 -04:00
2008-02-03 22:41:06 +00:00
2005-03-14 06:47:51 +00:00
2001-08-04 15:49:55 +00:00
2008-12-13 23:56:05 +00:00
2005-09-08 06:35:44 +00:00