Finally, in Figure 4, processes a and B can read and write from the Shared memory segment freely.
最后,在图4中,进程a和B可以随意读写共享内存段。
Shmat failed because of 0x000000c, which is ENOMEM or the available data space is not large enough to accommodate the Shared memory segment.
shmat失败于0x000000c,即ENOMEM或可用数据空间不足以容纳共享内存段。
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.
shmat 是一个 UNIX 函数,它将与 shmid(另一个 Solaris 函数)所标识的共享内存相关的共享内存段附加到调用进程的数据段上。
应用推荐