[Webkit-unassigned] [Bug 63482] Allow non-main thread text drawing in ICU ports

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 27 16:42:29 PDT 2011


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





--- Comment #13 from Joseph Pecoraro <joepeck at webkit.org>  2011-06-27 16:42:29 PST ---
> I think you are misunderstanding. The destroy function exists so it can be called on worker threads. On normal threads it will be called from inside the destructor. So this timing thing you are talking about, a window of time after the destroy function is called and before the destructor, does not really exist.
> 
> I think your new data member needs to match the rest of the class, and do the actual deallocation in destroy, not just in the destructor. Unless we eliminate the destroy function, which might be good. I don’t understand why worker threads need a different way to destroy the thread data, and it would be better if they did it by actually deallocating.

You're right. The issues I was concerned with, "after destroy and before deallocating" don't really exist and is not something I should be worrying about. It looks like the bots are happy with the new #if guards. I'll land with the nullptr assignment in destroy (and an updated changelog).

Thanks for the reviews.

-- 
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