Use lock to sync between threads.This should fix issue #679 and other same issue. Fix a bug in UpdateSpeed() that only save the first xxxSpeedRecord.
Use lock to sync between threads.This should fix issue #679 and other same issue. Fix a bug in UpdateSpeed() that only save the first xxxSpeedRecord.