[webkit-reviews] review requested: [Bug 15940] Implement threading API for Qt : [Attachment 20701] Updated implementation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 20 11:05:48 PDT 2008


Julien Chaffraix <julien.chaffraix at gmail.com> has asked  for review:
Bug 15940: Implement threading API for Qt
http://bugs.webkit.org/show_bug.cgi?id=15940

Attachment 20701: Updated implementation
http://bugs.webkit.org/attachment.cgi?id=20701&action=edit

------- Additional Comments from Julien Chaffraix <julien.chaffraix at gmail.com>
> +static Mutex& threadMapMutex()
> +{
> +    static Mutex mutex;
> +    return mutex;
> +}
> I'm sure GCC is going to initialize the static in a thread safe way, is MSVC
> doing that as well? 

This is the way the Windows port do the initialization so it should be alright
to do the same.


More information about the webkit-reviews mailing list