Create your Shared memory object as shown in Listing 2.
像清单2这样创建共享内存对象。
If the Shared memory object cannot be found, an exception is thrown.
如果无法找到这个共享内存对象,就会抛出异常。
Because this process modifies the contents of the Shared memory object, you use read_write.
因为这个进程要修改共享内存对象的内容,所以使用read _ write。
Object a starts right at the beginning of Shared memory.
对象A直接从共享内存的起始处开始。
The object construction is skipped if the Shared memory already exists.
如果共享内存已经存在,对象的构造就会被跳过。
The object construction is skipped if the Shared memory already exists.
如果共享内存已经存在,对象的构造就会被跳过。
应用推荐