Re: [PATCH V2] Refactor tree-loop-distribution for thread safety

2019-11-18 Thread Giuliano Belinassi
Hi, On 11/15, Richard Biener wrote: > On Thu, Nov 14, 2019 at 10:35 PM Giuliano Belinassi > wrote: > > > > Previously, the suggested patch removed all tree-loop-distributions.c global > > variables moving them into a struct and passing it aroung across the > > functions. > > This patch address t

Re: [PATCH V2] Refactor tree-loop-distribution for thread safety

2019-11-15 Thread Richard Biener
On Thu, Nov 14, 2019 at 10:35 PM Giuliano Belinassi wrote: > > Previously, the suggested patch removed all tree-loop-distributions.c global > variables moving them into a struct and passing it aroung across the > functions. > This patch address this problem by using C++ classes instead, avoiding

Re: [PATCH V2] Refactor tree-loop-distribution for thread safety

2019-11-14 Thread Giuliano Belinassi
Previously, the suggested patch removed all tree-loop-distributions.c global variables moving them into a struct and passing it aroung across the functions. This patch address this problem by using C++ classes instead, avoiding passing the struct as argument since it will be accessible from this po