好文档 - 专业文书写作范文服务资料分享网站

IPC_start函数的作用

天下 分享 时间: 加入收藏 我要投稿 点赞

IPC_start函数

This function needs to be called before Ipc_attach(). It should only be called once, unless the return value is Ipc_E_NOTREADY. This indicates that either the SharedRegion zero is not valid or has not been setup yet so Ipc_start may be called again. Once sucessfully started, subsequent calls returns Ipc_S_ALREADYSETUP.

Ipc reserves some shared memory in SharedRegion zero for synchronization. GateMP reserves some shared memory for managing the gates and for the default GateMP. The same amount of memory must be reserved by each processor, but only the owner of SharedRegion zero clears the reserved memory and creates the default GateMP. The default heap for each SharedRegion is created by the owner of each SharedRegion.

The SharedRegion with an index of 0 (zero) is used by IPC_start() to create resource management tables

for internal use by other IPC modules. Thus SharedRegion \processors

The SharedRegion with an index of 0 (zero) is used by IPC_start() to create resource management tables for internal use by other IPC modules. Thus SharedRegion \accessible by all processors. Your applications can also make use of SharedRegion \must be aware of memory limitations.

Note that the SharedRegion with an index of 0 (zero) is used by IPC_start() to create resource management tables for internal use by the GateMP, NameServer, and Notify modules. Thus SharedRegion \

IPC_start函数的作用

IPC_start函数ThisfunctionneedstobecalledbeforeIpc_attach().Itshouldonlybecalledonce,unlessthereturnvalueisIpc_E_NOTREADY.ThisindicatesthateithertheSharedRegionzeroi
推荐度:
点击下载文档文档为doc格式
42sfa8ff824mn0h1ludl
领取福利

微信扫码领取福利

微信扫码分享