IPCF

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IPCF

1,156件の閲覧回数
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,101件の閲覧回数
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 件の賞賛
返信