The thread switching latency is the time needed by the operating system to switch the CPU to run another thread . The thread switching latency is the time needed by the operating system to switch the CPU to another thread .