Use pointer for struct holding lock.
Merge pull request #1711 from erictune/vets

Use pointer for struct holding lock.