Processes in Erlang are assumed to be small in memory, fast to start, and fast to context-switch.
Erlang中的进程内存较小,可快速启动和进行上下文切换。
An essential part of any multitasking operating system, the kernel contains just the scheduler and context-switch routine.
任何多任务操作系统的本质部分,内核仅仅包含调度程序和上下文切换进程。
There is an important context switch that deserves a little more attention.
有一个重要的环境转变值得注意。
Internally, a context switch is performed between these two kernels, but this can be done quite fast.
两个内核之间在内部执行上下文切换,但这可以非常快速地完成。
The send system call returns, creating the fourth context switch.
send系统调用返回,结果导致了第四次的上下文切换。
Context-switch time is overhead; the system does no useful work while switching.
上下文切换的时间开销较重;在切换时,系统没有做有用的工作。
Step four: the write system call returns, creating our fourth context switch.
步骤四:系统调用返回,导致了第4次上下文切换。
The send socket call causes a context switch from user mode to kernel mode.
send套接字调用引发了从用户模式到内核模式的上下文切换。
This causes what is known as a context switch from "user space" to "kernel space," although that's just for you information.
这就引起所谓的从“用户空间”到“内核空间”的上下文切换,不过这仅供了解之用。
Step one: the read system call causes a context switch from user mode to kernel mode.
read() 调用(参见 图 2)引发了一次从用户模式到内核模式的上下文切换。
The read call causes a context switch (see Figure 2) from user mode to kernel mode.
read调用(参见图2)引发了一次从用户模式到内核模式的上下文切换。
Some amount of work is done to determine what event occurred and, after a small amount of work, the required task is dispatched to deal with the event (a context switch).
执行一些工作以确定发生了什么事件,然后执行少量工作分配必需的任务以处理此事件(上下文切换)。
To minimize the cost of a virtual processor context switch, the operating system indicates to the hypervisor whether some resources are in use.
为了实现虚拟处理器上下文切换成本的最小化,操作系统将告诉Hypervisor是否正在使用某些资源。
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。
Step two: data is copied from the kernel buffer into the user buffer, and the read system call returns. The return from the call caused a context switch from kernel back to user mode.
步骤二:数据从内核空间缓冲区复制到用户空间缓冲区,之后系统调用read返回,这导致了从内核空间向用户空间的上下文切换。
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.
这样做的优点是当一个线程要放弃一个互斥锁的时候,你不需要上下文切换到另外的线程中去。
This example shows how to enable a trusted context and switch the user ID in an xa application environment.
这个例子展示如何在XA应用程序环境中启用一个受信任上下文和切换用户ID。
JRuby can switch context at almost any time.
JRuby几乎可以随时切换上下文。
Operating systems can generally switch (context switching) faster between threads of the same process than between different process.
操作系统通常可以在相同进程中的不同线程之间更快速地切换(上下文切换),而不是在不同进程之间切换。
To execute these instructions, you need to switch to the kernel context.
要执行这些指令,您必须切换到内核上下文。
After the application has established a trusted connection with the DB2 server, the application may switch users associated with the trusted context object in the backend.
在应用程序已经建立与DB 2服务器的连接之后,应用程序可以在后端切换与受信任上下文相关联的用户。
Furthermore, the ability to switch users with minimum connection resources and without authentication, makes trusted context an ideal choice for business applications.
而且,由于可以以很少的连接资源切换用户,而不需要身份验证,受信任上下文是商业应用程序的理想选择。
Thread Stack, each thread has a dedicated stack for its own execution and context switch.
线程堆栈,每个线程都有自己执行与上下文切换的专用堆栈。
VI Architecture (VIA) reduces the communication overhead by eliminating the context switch between the user mode and the kernel mode and using the application space as the network data buffer .
通过消除数据传输过程中用户态和核心态之间上下文切换、将应用程序空间直接作为网络数据缓存来降低通信开销。
Conceptually, a thread context switch can be viewed as a process changing its state.
从概念上讲,一次线程上下文切换相当于进程改变它的状态。
This task is known as a context switch.
这任务叫做上下文切换。
The following examples show you how to switch to the login context of a DB2 instance owner named tsom.
下面的例子将介绍如何切换到一个名为tsom 的DB2实例拥有者登录上下文。
After the trusted connection has been established, the application can then switch the user to an allowed user defined in the trusted context.
在建立受信任连接之后,应用程序将用户切换到受信任上下文中定义的允许的用户。
Within each context, each author's interpretation of the term makes sense, but readers must make the switch between contexts on their own, which is often not easy.
在每个上下文中,每位作者赋予该术语不同的意义,读者必须自己在上下文之间转换,这通常是很难做到的。
The return from the call causes another context switch from kernel back to user mode.
该调用的返回引发了内核模式到用户模式的上下文切换(又一次上下文切换)。
应用推荐