Hi, I have a question about the file descriptor created by pmem or ashmem. It's said the file descriptor can be transfered to other processes by IPC/binder so the memory can be shared. But I wonder how the file descriptor can be used by another process if it's not the case when a child process inherits fd sets from its parent.
Looking at the code of init_workspace() (in system\core\init \property_service.c),system_properties memory region is created by init process and I understand that's how those system property functions (M:\work\android_beagle\bionic\libc\bionic \system_properties.c) work since all processes are child of init. But how about other cases like the frame buffer heap created by opencore for video rendering? They are not in same process so how does it work? Hope anybody can guide me on this. Thanks. -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
