Thread protect access to the internal table.