WIP : this comes on top of !138 (merged).
Add a mutex to access StateBlock::state_ vector.
StateBlock::state_