On Wed, Mar 10, 2010 at 11:27 AM, Darin Adler <[email protected]> wrote:

> On Mar 10, 2010, at 11:15 AM, Mike Marchywka wrote:
>
> > I haven't looked at this code but is SharedBuffer thread safe etc?
>
> SharedBuffer uses RefCounted, an implementation that works only on a single
> thread, as opposed to the slower CrossThreadRefCounted.
>
> We can test your guess about the memory problems being a thread-safety
> issue by adding assertions that check ref and deref are called only on one
> thread. Those would be extremely valuable. Someone was working on assertions
> of that type a while back, but I don’t think we successfully landed them.
>

Here's the bug if someone wants to take that up:
https://bugs.webkit.org/show_bug.cgi?id=31639
<https://bugs.webkit.org/show_bug.cgi?id=31639>

>
>    -- Darin
>
> _______________________________________________
> webkit-dev mailing list
> [email protected]
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to