Merge pull request #1746 from skidau/dsp-thread-lock Added lock guards around the DSP LLE cycle count updating.