Comment #17 on issue 18488 by timurrrr: Possible data race on  
HistoryAddPageArgs
http://code.google.com/p/chromium/issues/detail?id=18488

> Pawel is looking at asserting that RefCounted is being used from the same  
> thread.
Please, NO.
I'm sure there are dozens of classes using RefCounted in multi-threaded  
environment
properly in Chromium.
For example, by guarding it using a Lock.

Maybe a better idea is to add a couple of "DCHECK(refcount > 0)" and also  
set
"refcount = -1000" before "delete this"

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to