« Return to Thread: Astonishing allocation bug in glib-2.16.4 compiled with gcc 2.96

Re: Astonishing allocation bug in glib-2.16.4 compiled with gcc 2.96

by Tim Janik-2 :: Rate this Message:

Reply to Author | View in Thread

On Tue, 15 Jul 2008, Alessandro Vesely wrote:

> This discussion reminds me that smc_notify_tree() does not actually check
> which thread does a chunk belong to. Could that result in misbehavior?

No, chunks may be freely passed back and forth betwen threads without
problems. Except for a few blocks that fit into 2*magazine_size, all
allocations are shared between all threads anyway.

---
ciaoTJ
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@...
http://mail.gnome.org/mailman/listinfo/gtk-devel-list

 « Return to Thread: Astonishing allocation bug in glib-2.16.4 compiled with gcc 2.96