There are so many classes containing static hashmap<>, such as string.
Cache is a singleton and the contents it caches is not thread-safe.
As for js, JSGlobalOjbect is linked by a list.
2009/6/16 John Abd-El-Malek
> Yes it's possible. The Chromium port runs web views in different
> processes.
It's not just JS -- WebCore is not threadsafe -- chrome gets around
this by hosting each webview in a distinct process -- effectively the
same as if you launched multiple instances of safari (or Cruz, Shiira,
OmniWeb, etc) to get parallel browsing (this is a high level overview,
chrome does
Thanks for the info guys, I stand corrected. Completely forgot about the JS
issue.
2009/6/15 Oliver Hunt
> This is not possible due to various issues with the interaction between JS
> across multiple webviews, and the additional assumption that all layout and
> painting occurs in the UI thread.
This is not possible due to various issues with the interaction
between JS across multiple webviews, and the additional assumption
that all layout and painting occurs in the UI thread. Attempting to
interact with WebKit on multiple threads will cause crashes.
--Oliver
On Jun 15, 2009, at
2009/6/15 John Abd-El-Malek
> Yes it's possible. The Chromium port runs web views in different
> processes. You can look at the design docs and source to see how it's done,
> that should give you an idea of what you have to do this on different
> threads.
Note that using distinct processes (a
Yes it's possible. The Chromium port runs web views in different processes.
You can look at the design docs and source to see how it's done, that
should give you an idea of what you have to do this on different threads.
2009/6/15 熊科浪
>
> hi
> I want to develop c++ application that uses Web
6 matches
Mail list logo