[webkit-dev] pthreads and other threading primitives

2011-09-26 Thread Alexey Proskuryakov
In the wake of Geoff's work to simplify threading ifdefs, and Adam's review of supported ports, I'm curious what people think about maintaining many platform branches in our WTF and JavaScriptCore threading code. Right now, it feels rather non-systemic, with some code built upon pthreads, Qt

Re: [webkit-dev] pthreads and other threading primitives

2011-09-26 Thread Jarred Nicholls
On Mon, Sep 26, 2011 at 1:47 PM, Alexey Proskuryakov a...@webkit.org wrote: In the wake of Geoff's work to simplify threading ifdefs, and Adam's review of supported ports, I'm curious what people think about maintaining many platform branches in our WTF and JavaScriptCore threading code.

Re: [webkit-dev] pthreads and other threading primitives

2011-09-26 Thread Darin Fisher
On Mon, Sep 26, 2011 at 10:47 AM, Alexey Proskuryakov a...@webkit.org wrote: In the wake of Geoff's work to simplify threading ifdefs, and Adam's review of supported ports, I'm curious what people think about maintaining many platform branches in our WTF and JavaScriptCore threading code.

Re: [webkit-dev] pthreads and other threading primitives

2011-09-26 Thread paroga
On Mon, 26 Sep 2011 14:08:41 -0400, Jarred Nicholls wrote: Do we want to require that platforms support pthreads, so that code that isn't performance critical could have just one implementation? That's the status quo :)  MachineStackMarker only works with pthreads, so QtWin32 and Win ports

Re: [webkit-dev] pthreads and other threading primitives

2011-09-26 Thread Geoffrey Garen
Do we want to require that platforms support pthreads, so that code that isn't performance critical could have just one implementation? It might work to require either POSIX threads or Win32 threads in all build configurations, and refactor or remove other threading code. It's a bit weird to