[Webkit-unassigned] [Bug 28095] [WINCE] W3C Geolocation backend

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 4 08:34:55 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=28095


Adam Barth <abarth at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |abarth at webkit.org




--- Comment #20 from Adam Barth <abarth at webkit.org>  2009-09-04 08:34:54 PDT ---
(In reply to comment #19)
> I didn't know that RefPtr is not designed be use across threads. I followed the
> same technique used the DatabaseThread. It also uses RefPtr<DatabaseThread>
> m_selfRef. Is this a bug too?

The problem is that the reference count is not protected by a lock.  If two
folks try to increment the count at the same time, the count might only
increment by one, leading to disaster.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list