How to use shared memory in android native code? -


i porting existing linux application android. application using shared memory api's shm_open() etc.

checking bionic in android source, see these api's not supported. hence linking error during build.

external/l2/avbtp.c:138: error: undefined reference 'shm_open' external/l2/avbtp.c:151: error: undefined reference 'shm_unlink' external/l2/avbtp.c:186: error: undefined reference 'shm_unlink' 

how resolve correctly?

android intentionally doesn't provide sysv ipc. try avoid using of shared memory or, if want, examples of using ashmem.


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -