• 共享内存提供最快进程通信方法因为内存传输的速度来处理读写消息

    Shared memory provides the fastest method of interprocess communication, because it processes read and write messages at the speed of memory transfers.

    youdao

  • 然而如果两个更多进程使用共享内存进行通信,那么它们需要相同地址空间从而限制它们所能使用地址

    However, if two or more processes want to communicate using Shared memory, they need to have the same address space, thus limiting the addresses they can utilize.

    youdao

  • 注意每个进程可能各自的地址空间中映射共享内存区域不同地址

    Note that each process can map the Shared memory region to different addresses in their respective address Spaces.

    youdao

  • 邮箱有效地各个进程彼此分开,不用共享内存中的变量

    Rather than sharing variables in memory, the mailbox effectively separates distinct processes from each other.

    youdao

  • 共享内存允许多个进程它们部分地址映射一个公用的内存区域

    Shared memory allows multiple processes to map a portion of their virtual address to a common memory region.

    youdao

  • 任何进程可以共享内存区域写入数据并且数据可以其他进程读取修改

    Any process can write data to a Shared memory region, and the data are readable and modified by other processes.

    youdao

  • 放在这个惟一空间共享内存只能相同内存中的进程访问

    Shared memory segments placed in the unique space can only be accessed by processes within the same memory window.

    youdao

  • 即使所有进程都与之脱离之后,这个共享内存不会被销毁

    The Shared memory is not destroyed even after all processes detach from it.

    youdao

  • 进程退出时,并不删除共享内存

    The Shared memory is not deleted when the process exits.

    youdao

  • 这个程序例子创建了一个其父进程共享存储器空间克隆线程

    This example program creates a cloned thread sharing memory space with the parent process.

    youdao

  • 一个虚拟进程首次附加共享内存中时,读取共享内存头中的地址信息,获取指向其他所有结构的方向。

    When a virtual processor first attaches to Shared memory, it reads address information in the shared-memory header for directions to all other structures.

    youdao

  • 现在我们来看一下如何使用共享内存事件缓存进行进程通信

    Now let's look at using Shared memory and caching of events for interprocess communications.

    youdao

  • 2中,进程A请求共享内存

    In Figure 2, process a requests a segment of Shared memory.

    youdao

  • 话说,操作系统不会强制通过共享资源所以所有需要资源的进程都必须协同使用该锁。

    In other words, the operating system doesn't enforce the resource sharing through the lock, so all processes that need the resource must cooperate to use the lock.

    youdao

  • 因为每个进程(内核)相同地址指向不同物理内存区域可能立即共享内存。

    Because each process (and the kernel) can have identical addresses that refer to different regions of physical memory, it's not immediately possible to share memory.

    youdao

  • 共享内存是从系统空闲内存中分配的,希望访问每个进程连接它。

    Instead, Shared memory is allocated from the system's free memory pool and is annexed by each process that wants access.

    youdao

  • 大型应用程序向内核请求大量内存多个进程共享内存时,反向映射帮助系统继续有效地运行扩展

    Reverse mappings help the system continue to perform and scale well when large applications are placing huge memory demands on the kernel and multiple processes are sharing memory.

    youdao

  • 最后有意思参数就是句柄继承模型了。允许必要的时候,可以喝进程共享资源

    Finally, the other interesting parameter is the handle inheritance model, this will allow to share this resource with a child process if is required.

    youdao

  • 进程通信进一步了解共享内存其他进程通信形式如何实现

    Interprocess communications: Learn more about how Shared memory and other forms of interprocess communication are implemented.

    youdao

  • 顾名思义共享内存内存可供多个进程访问

    As its name implies, Shared memory makes a segment of memory accessible to more than one process.

    youdao

  • 这些设施包括打开文件句柄(文件描述符)、共享内存进程同步当前目录

    Facilities include open file handles (file descriptors), Shared memory, process synchronization primitives, and current directory.

    youdao

  • 最后4中,进程aB可以随意读写共享内存

    Finally, in Figure 4, processes a and B can read and write from the Shared memory segment freely.

    youdao

  • 固定数量进程可以附加pkcsslotd因此使用共享内存中的一个静态

    A fixed number of processes can be attached to pkcsslotd, so a static table in Shared memory is used.

    youdao

  • 因为bash运行,以后运行的任何bash脚本天生是有效利用内存的,因为它们任何已运行的bash进程共享内存。

    Because bash is already running, any additional bash scripts that you run are inherently memory-efficient because they share memory with any already-running bash processes.

    youdao

  • 如果资源已经存在CreateFileMapping重新初始化共享资源对于进程约定。

    The CreateFileMapping reinitializes the commitment of the Shared resource to the process if the resource already exists.

    youdao

  • 基于同样原因类API非常适合多个进程并发执行共享内存服务器

    For the same reason, they are also particularly efficient on servers where many processes run concurrently and memory is Shared.

    youdao

  • 对于希望访问已经创建的共享内存进程第一参数应该open_only。

    For a process that wants to have access to an already-created Shared memory, the first argument should be open_only.

    youdao

  • 分配一个运行进程默认文件句柄数量共享内存不足以MacOSX运行IBMInformixDynamicServer

    The default amount of file handles and shared memory allocated to a running process is insufficient to run IBM Informix Dynamic Server on Mac OS X.

    youdao

  • 这个连接过程称为映射,它给共享内存分配每个进程地址空间中的本地地址

    Annexation is called mapping, where the Shared segment of memory is assigned local addresses in each process 'own address space. Figure 1, Figure 2, Figure 3, and Figure 4 depict the process.

    youdao

  • shmatUNIX函数,它将 shmid(另一个Solaris 函数)标识共享内存相关共享内存附加调用进程的数据段上。

    shmat is a UNIX function that attaches the shared memory segment associated with the shared memory identified by shmid (another Solaris function) to the data segment of the calling process.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定