Re: [webkit-dev] Windows Multithread issue

2009-06-16 Thread ZHOU Xiao-bo
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.

Re: [webkit-dev] Windows Multithread issue

2009-06-16 Thread Oliver Hunt
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

Re: [webkit-dev] Windows Multithread issue

2009-06-16 Thread John Abd-El-Malek
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.

Re: [webkit-dev] Windows Multithread issue

2009-06-15 Thread 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. Attempting to interact with WebKit on multiple threads will cause crashes. --Oliver On Jun 15, 2009, at

Re: [webkit-dev] Windows Multithread issue

2009-06-15 Thread Peter Kasting
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

Re: [webkit-dev] Windows Multithread issue

2009-06-15 Thread 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. 2009/6/15 熊科浪 > > hi > I want to develop c++ application that uses Web