This allowed the system to be distributed over multiple processors, either using shared memory directly as in most Mach messages, or by adding code to copy the message to another processor if needed.
这种设计有利于把系统分布到多个处理器之上,既可以像大多数Mach消息那样直接通过共享内存来传递,也可以在必要的时候增加一点代码把消息复制到别的处理器上。
Using Shared memory: No event caching.
使用共享内存:没有事件缓存。
Memory maps and using Shared memory segments.
内核映射和共享内存段的使用。
Now let's look at using Shared memory and caching of events for interprocess communications.
现在让我们来看一下如何使用共享内存和事件的缓存进行进程间通信。
If there are users or applications connecting in bindings mode (using Shared memory), the operating system will authenticate them using an ID and a password.
如果有用户或应用程序以绑定模式连接(使用共享内存),操作系统将使用ID和密码对其进行身份验证。
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.
然而,如果两个或更多进程要使用共享内存进行通信,那么它们需要有相同的地址空间,从而限制了它们所能使用的地址。
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.
然而,如果两个或更多进程要使用共享内存进行通信,那么它们需要有相同的地址空间,从而限制了它们所能使用的地址。
应用推荐