日期:Mon, 17 Nov 2008 08:45:30 -0800 (PST)
当地时间:2008年11月17日(星期一) 上午11时45分
主题:Re: Any shared memory and named semaphores in Android
Shared memory is supported through the /dev/ashmem driver and binder
interface. Have a look at IMemory.h for details. You'll find a few
concrete implementations in various places in the source tree.
interface. Have a look at IMemory.h for details. You'll find a few
concrete implementations in various places in the source tree.
On Nov 17, 12:11 am, Colin Lee <becker1...@gmail.com> wrote:
> Is there any shared memory and named semaphores supported in Android?
> Because that I try to use shmget API in android but I get the
> following error message
> Because that I try to use shmget API in android but I get the
> following error message
> shmget of 0 failed: Function not implemented
> From looking at the source, it seems that there is support for these
> system calls in the android kernel, but not in the bionic (the bionic
> has a syscall stub that point to sys_ni_syscall which always return
> ENOSYS which is the "Not implemented" error).
没有评论:
发表评论