Add recent_cpu in thread structure.