Shared memory is created if it does not exist, and the shared object is created within it.
如果共享内存尚不存在,就创建共享内存;并在其中创建对象。
The second line takes the object file and creates an executable. If we wish to build our program as a shared object, we should do the following
第二行取得对象文件并创建一个可执行文件。
You can gem makes use of the Shared memory subsystem for object management.
GEM为对象管理使用了共享内存子系统。
For a process to use a Shared memory object, the process has to map the object in its address space.
使用共享内存对象的进程必须在自己的地址空间中映射对象。
Using the Shared memory object for writing.
使用共享内存对象写数据。
Another benefit of using mapped_region is that both full and partial access to the Shared memory object is possible.
使用mapped_region的另一个好处是可以对共享内存对象进行完全和部分访问。
For example, if the Shared memory object cannot be created, an exception of type boost: : interprocess_exception is thrown.
例如,如果无法创建共享内存对象,就抛出类型为boost: interprocess_exception的异常。
Similar to the case for a Shared memory object, a message queue that is opened only for reading will have the open_only attribute passed in the constructor.
与共享内存对象相似,对于以只读方式打开消息队列,应该把open_only属性传递给构造函数。
You can configure this Shared Context area with user-defined business object definitions.
您可以使用用户定义的业务对象定义对这个SharedContext区域进行配置。
In Listing 4, you create the Shared memory object using the open_only and read_only attributes.
在清单4中,使用open_only和read_only属性创建共享内存对象。
To instantiate the object within the shared memory, define an additional class, Initializer.
要对共享内存中的对象进行实例化,请定义另外一个类Initializer。
This ordinary object will always remind me of that special time I Shared with my brother.
这件普通的东西会永远提醒我:我和哥哥共度的特别时光。
How do we align the participants around a Shared, though problematic or even controversial, object of concern?
我们如何使参与者在一个共同的问题,但也存在争议,去关注对象?
In the latter case, of course, only one thread at a time is allowed to execute a class method because there is only one class object that is Shared by all callers.
在后面一种情况中,同一时间只会有一个线程可以执行这个类方法,因为对于所有的调用者来说,都只有一个类对象可被使用。
The central meaning shared by these nouns is . a line defining the boundary and shape of an object, a mass, or a figure.
这些名词的中心意思为。确定一个物体、群体或体形的界限和形状的线。
The central meaning shared by these nouns is . a line defining the boundary and shape of an object, a mass, or a figure.
这些名词的中心意思为。确定一个物体、群体或体形的界限和形状的线。
应用推荐