[webkit-dev] [webkit-changes] [35474] trunk/JavaScriptCore

Justin Haygood jhaygood at reaktix.com
Thu Jul 31 12:40:34 PDT 2008

>On Jul 31, 2008, at 11:30 PM, Brent Fulgham wrote:
>> Since WebKit has its own threading abstraction layer, I think it is
>> unwise for code outside this layer to make use of the special
>> knowledge that pthreads is in use.  Whatever you want to be doing via
>> calls to pthreads primitives should instead be handled using one of
>> the WTF/Thread methods.  If no such method exists, it should be added
>> so that proper variants for the specific platforms are used.
>Well, what I'm saying is that maintaining our own abstraction layer is  
>a large and unnecessary burden.
>- WBR, Alexey Proskuryakov

We already do maintain it... WebCore uses it quite heavily. Why not use it? It uses the platform's native threading APIs (gthread on glib, QThread on Qt, pthread on OS X, Win32 threads on Win32)

>webkit-dev mailing list
>webkit-dev at lists.webkit.org

Justin Haygood
jhaygood at reaktix.com
Reaktix. Reality Redefined.

More information about the webkit-dev mailing list