Comment; also holds lock for AddAndGet (enters lock individually for both operations; now holds it for both. Safe to enter a CS twice.)
Comment; also holds lock for AddAndGet (enters lock individually for both operations; now holds it for both. Safe to enter a CS twice.)

vintagedave/DelphiAST