On Fri, Nov 23, 2018 at 10:24 PM Jerry DeLisle
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 thr
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