On Fri, Nov 23, 2018 at 10:24 PM Jerry DeLisle <jvdeli...@charter.net> wrote:
> On 11/23/18 11:58 AM, Janne Blomqvist wrote: > > With multiple threads, using an unprotected static variable to check > > whether recursion has occured isn't valid, as one thread might have > > modified the variable, thus causing another thread to incorrectly > > conclude that recursion has occured. This patch avoids this problem > > by using a thread-specific variable for the recursion check. > > > > Regtested on x86_64-pc-linux-gnu, Ok for trunk? > > > > OK and thanks Janne. > Thanks for the quick review, committed as r266419. -- Janne Blomqvist