what are the IPC mechanisms does android support

315 views
Skip to first unread message

manju2...@gmail.com

unread,
Aug 22, 2011, 2:31:30 AM8/22/11
to android-platform
Hi all,
I need few information on android please help in getting this info.

1. what are all the IPC mechanisms does android support.
2. does android have its own custom IPC mechanism.
3. does the IPC mechanisms are POSIX complaint.


please help me I need this information...

thanks
manju

Nigel Sheridan-Smith

unread,
Aug 22, 2011, 6:17:32 PM8/22/11
to android-...@googlegroups.com
Hi Manju,
 
Android uses the Bionic C library (under /bionic)... my understanding is that this is not fully POSIX compliant.
 
Android also has the Binder IPC mechanism (under /frameworks/base/libs/binder) which uses a Linux misc kernel driver (binder.c). The kernel driver is not in the AOSP source code itself, but available on the web.
 
Cheers,
 
Nigel


--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To post to this group, send email to android-...@googlegroups.com.
To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.


md azhar

unread,
Aug 23, 2011, 1:34:36 AM8/23/11
to android-...@googlegroups.com
The different IPC mechanisms supported by android are
1. Intents
2. Ashmem [Anonymous SHared MEMory]
3. Binder IPC

Binder IPC is the custom IPC mechanism for android
As nigel said i don't think  IPC mechanisms are POSIX complaint.

FrankG

unread,
Aug 23, 2011, 10:13:16 AM8/23/11
to android-platform
I would add

4. kernel objects or communications via sysfs file handles

5. sockets

Good luck ! Frank



On 23 Aug., 07:34, md azhar <azhar....@gmail.com> wrote:
> The different IPC mechanisms supported by android are
> 1. Intents
> 2. Ashmem [Anonymous SHared MEMory]
> 3. Binder IPC
>
> Binder IPC is the custom IPC mechanism for android
> As nigel said i don't think  IPC mechanisms are POSIX complaint.
>
> On Tue, Aug 23, 2011 at 3:47 AM, Nigel Sheridan-Smith <wtfi...@gmail.com>wrote:
>
>
>
>
>
>
>
> > Hi Manju,
>
> > Android uses the Bionic C library (under /bionic)... my understanding is
> > that this is not fully POSIX compliant.
>
> > Android also has the Binder IPC mechanism (under
> > /frameworks/base/libs/binder) which uses a Linux misc kernel driver
> > (binder.c). The kernel driver is not in the AOSP source code itself, but
> > available on the web.
>
> > Cheers,
>
> > Nigel
>

shanmuga prasad

unread,
Aug 23, 2011, 12:52:07 AM8/23/11
to android-...@googlegroups.com
Hi Manju,

Android wont support SystemV syscall eg:semaphore ,shared merory and all.

shanmuga prasad

unread,
Aug 23, 2011, 8:54:07 AM8/23/11
to android-...@googlegroups.com
AshMem is supported IPC mechanism in android 

shanmuga prasad

unread,
Aug 23, 2011, 12:50:49 AM8/23/11
to android-...@googlegroups.com
On Mon, Aug 22, 2011 at 12:01 PM, manju2...@gmail.com <manju2...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages