Protect read and write of generator statistics using mutex
Rename mutex_ to smutex_ since it is used for statistics
Merge pull request #221 from Juniper/meghb_vizd

Protect read and write of generator statistics using mutex