On 31 August 2012 00:12, Naresh Kamboju naresh.kamboju@linaro.org wrote:
Hi,
Here is a file massive_intr.c attached. which use shared memory call like (shm_open shm_close).
The file can be found here. http://people.redhat.com/mingo/cfs-scheduler/tools/massive_intr.c
I would like to port this file to Android. How can i do it?
I have seen some links talks about share memory implementation on android, since i am new to Android not sure on the porting.
http://www.androidenea.com/2010/03/share-memory-using-ashmem-and-binder-in.h...
http://www.netmite.com/android/mydroid/frameworks/base/libs/utils/IMemory.cp...
http://gitorious.org/android-eeepc/base/blobs/6340d73153190021292172e5f72813...
do you feel we have to change file from .c to .cpp then only we can use shared memory in Android? please provide me the information on how to port this.
Best regards Naresh Kamboju