add mutex lock to raw_timer to increase realtime