On Sun, Nov 05, 2006 at 04:36:29PM -0700, Rob Savoye wrote:

> configuration changes. At this point we should concentrate on core dump
> bugs, or we'll never get this out.
> 
>   One thing to be careful of is making sure new/delete or malloc/free
> are thread save by always wrapping memory allocation in a thread with a
> mutex.

This is more complex then it seems, wrapping allocations won't be
enough to avoid corruptions. Consider a threading pushing items
to a vector, and another thread concurrently *reading* that vector....

I dunno about pure allocations actually, can you describe a situation
in which that would be a problem by itself ?

--strk;


_______________________________________________
Gnash-dev mailing list
Gnash-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to