And when it does perform a thread switch, it tends to do it in the same place whenever you run the program.
并且当它确实执行了线程切换时,每次运行程序时它往往都在同一个位置进行切换。
One thread asking another for information can cause a thread switch, or one thread preempting another can cause a thread switch.
当一个线程向另一个线程请求信息时,就可能引起线程切换。
This requires a context switch to the kernel thread to handle the task of moving data to and from disk.
这要求上下文切换到内核线程,以处理将数据移动到磁盘以及从磁盘移出数据的任务。
Each processor on the CPU has its own CSA (current save area) pointer that points to the MST that is to be used when a thread or interrupt handler is interrupted or swapped due to context switch.
CPU上的每个处理器都拥有自己的CSA(当前保存区)指针,指向当线程或中断处理程序由于上下文切换而被中断或交换时使用的MST。
Although the thread scheduler, in principle, may switch threads in the middle and run them in different order, it tends not to.
虽然原则上线程调度程序可以在运行的中间切换线程并以不同的顺序运行它们,但是它往往不进行切换。
If you switch threads and want to get back to the faulting thread, type ~ to list all threads and the faulting thread will be marked with a dot.
若你切换线程到出错的线程,输入~将所有的线程列举出来,一个断点会标记有问题的线程。
The application code receives the new subject, then invokes the WSSubject.setRunAsSubject(returned_subject) method to switch identity for the current thread.
应用程序代码接收新的主题,然后调用 WSSubject.setRunAsSubject(returned_subject)方法为当前线程切换标识。
Why do I get a thread context switch every time I synchronize with a mutex?
为什么我每次我得到一个线程上下文切换同步与互斥?。
The advantages to this is that if a thread is about to give up a mutex, you don't have to context switch to another thread.
这样做的优点是当一个线程要放弃一个互斥锁的时候,你不需要上下文切换到另外的线程中去。
Thread Stack, each thread has a dedicated stack for its own execution and context switch.
线程堆栈,每个线程都有自己执行与上下文切换的专用堆栈。
The protocol handler cannot use any Windows messaging to switch back to the thread it was instantiated on, since the protocol handler must work on non-GUI threads.
协议处理器不能使用任何微软Windows消息机制转回到线程中,协议处理器必须工作在非GUI线程中。
Conceptually, a thread context switch can be viewed as a process changing its state.
从概念上讲,一次线程上下文切换相当于进程改变它的状态。
For example, the operating system might read or write to disk, or switch between the target thread and another thread in another process.
例如,操作系统可能读写磁盘,或者在目标线程与另一个进程中的另一个线程之间进行切换。
In order to switch efficiently between active threads, each active thread needs to have its own register set.
为了有效地之间切换积极线程,每个活跃线程都需要拥有自己注册成立。
Switch to Event Dispatch Thread in View or in Presenter?
切换到视图或主持人事件调度线程?
Make the new thread current, and switch to its stack.
将线程设置为当前运行线程,并切换esp到新的堆栈。
Make the new thread current, and switch to its stack.
将线程设置为当前运行线程,并切换esp到新的堆栈。
应用推荐