您好,
在SYS/BIOS Inter-Processor Communication (IPC) and I/O User’s Guide.pdf这个文档的第3-6页,有如下:An application that uses IPC APIs—such as MessageQ, GateMP, and ListMP—must include the Ipc module header file and call Ipc_start() in the main() function.
但是在CCSV4提供的6472的MessageQ工程中,却分别在两个task中使用了Ipc_start()而不是在main()里面,那这样话,我们在使用Ipc_start()的时候,应该放在什么位置呢?
Wei:
文档说的是header file需要放在main() ipc_start(), 和ipc_start放在哪里没有关系吧
Jianlei Wu:
回复 Wei:
Wei Chen 您好,
文档的最后一句:call Ipc_start() in the main() function。因此我的理解为我们必须在main()函数中调用ipc_start();但是在6472的MessageQ工程中,却在两个task()中分别调用ipc_start()。所以想请教一下这个ipc_start()函数应该具体在在什么位置进行调用?