IPCF

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IPCF

1,147 Views
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 Kudos
Reply
1 Reply

1,092 Views
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 Kudos
Reply