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.
任何多任务操作系统的本质部分,内核仅仅包含调度程序和上下文切换进程。
Internally, a context switch is performed between these two kernels, but this can be done quite fast.
两个内核之间在内部执行上下文切换,但这可以非常快速地完成。
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.
这就引起所谓的从“用户空间”到“内核空间”的上下文切换,不过这仅供了解之用。
Context-switch time is overhead; the system does no useful work while switching.
上下文切换的时间开销较重;在切换时,系统没有做有用的工作。
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。
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.
从概念上讲,一次线程上下文切换相当于进程改变它的状态。
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.
该调用的返回引发了内核模式到用户模式的上下文切换(又一次上下文切换)。
The return from the call caused a context switch from kernel back to user mode.
该调用的返回引发了内核模式到用户模式的上下文切换(又一次上下文切换)。
This gives them context, and it shortens the time necessary to switch from one task to another.
这赋予他们一定的背景,并缩短了从一项任务转向另一项任务所需要的时间。
This requires a context switch to the kernel thread to handle the task of moving data to and from disk.
这要求上下文切换到内核线程,以处理将数据移动到磁盘以及从磁盘移出数据的任务。
This small but significant change in the way you work yields an immediate benefit: all the valuable context you build up as you work is no longer lost when you switch tasks.
这种小但重要的工作方式的改变会立即使您获益:当您切换任务时,您在工作中建立起来的所有有价值的上下文不再会丢失。
You can use the built-in composite application navigator to switch pages, and an aggregation component can maintain context across page transitions.
您可以使用内置的复合应用程序导航器切换页面,使用聚合组件在进行页面转换时保持上下文。
应用推荐