IPCF

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IPCF

1,372 次查看
chuanlin
Contributor III

chuanlin_0-1686210061759.png

Hello, in the library file of ipc-shm. c, there is an endless loop. Why can't I get the remote Shared memory?

0 项奖励
回复
1 回复

1,317 次查看
DanNguyenDuy
NXP Employee
NXP Employee

Hello @chuanlin,

ipc_os_get_remote_shm is from ipc-os.h, depends on the os you use it can be ipc-os-baremetal.c/ipc-os-free.c/...

In those .c file, the function ipc_os_get_remote_shm will return remote address which is stored in a global struct in os files.

The global struct is initialized when ipc_shm_init() finished to initialize that instance

Best regards,

Dan

0 项奖励
回复