Fix race condition during loop data re-allocation
winterland1989 opened this issue · comments
winterland commented
Although i haven't successfully create such a core dump, but it seems there're possibilities that during loop data re-allocation, we may write to an old location, which is a bad race condition(The chances are too low to meet in practice).
Let's investigate all the possibilities and create a safe solution.
winterland commented
Done by acquire lock in getResult
and pokeBufferTable
.