Re: [Kicad-developers] Zone filling (was: MacOS + OpenMP)

2018-03-03 Thread Jeff Young
> you implemented multiple workers yourself now? Yes. We’re pulling zones from a list anyway, so it was easy enough to use the list as a work queue. I just added a std::atomic index into the list; each worker grabs the next index when it’s looking for more to do. Cheers, Jeff. > On 3 Mar

Re: [Kicad-developers] Zone filling (was: MacOS + OpenMP)

2018-03-03 Thread Bernhard Stegmaier
Hi, you implemented multiple workers yourself now? I’ll have to check in detail. I thought of just using OpenMP for the for loop again like this. <<< diff --git a/pcbnew/zone_filler.cpp b/pcbnew/zone_filler.cpp index 6fe40555a..408c5e7aa 100644 --- a/pcbnew/zone_filler.cpp +++

[Kicad-developers] Zone filling (was: MacOS + OpenMP)

2018-03-03 Thread Jeff Young
Hi Tomasz & Bernhard, If you have a chance could you guys please take a look at https://git.launchpad.net/kicad/commit/?id=c77d13292b63a3ef7c28f004ee93f3ed93cca9f3 ? It reinstates multi-threading (with