if new thread==old thread, no context switch (nothing change in result)