Hi

On Wednesday, September 29, 2010 11:32:57 PM UTC+2, Dianne Hackborn wrote:
>
> Specifically, each process has a pool of "binder threads" which sit there 
> waiting for incoming IPCs from other process.  When an IPC is dispatched to 
> your process, one of these threads comes out of the pool to process it. 
>  These may come to you directly through an IBinder you publish from a 
> Service to another process, semi-directly through calls from another process 
> to a ContentProvider you have published, or indirectly from a wide range of 
> IPCs the system does into app processes to tell it to launch an activity, 
> receive an intent, etc.
>

I have been trying to get a better understanding of how this works. Will 
every thread have it's own iocl/binder with the kernel or will there still 
be a main binder thread dispatching call to the processing threads?

Thanks
 

>
> On Wed, Sep 29, 2010 at 9:42 AM, Mark Murphy <mmu...@commonsware.com>wrote:
>
>> If I understand correctly, for IPC via AIDL, the object that is
>> responding to the IPC is invoked on a binder thread. The object
>> definitely is not invoked on the main application thread.
>>
>> They may have additional uses, but that's the one I can think off of
>> the top o' my head.
>>
>> On Wed, Sep 29, 2010 at 12:37 PM, DanH <danh...@ieee.org> wrote:
>> > I tried Google, but the only answer I could find is "They were created
>> > by the system and they don't do any harm."  I'm not worried about them
>> > per se, but was just curious about what they actually do and why
>> > they're there.
>>
>> --
>> Mark Murphy (a Commons Guy)
>> http://commonsware.com | http://github.com/commonsguy
>> http://commonsware.com/blog | http://twitter.com/commonsguy
>>
>> Android 2.2 Programming Books: http://commonsware.com/books
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-d...@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-develop...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
> -- 
> Dianne Hackborn
> Android framework engineer
> hac...@android.com
>
> Note: please don't send private questions to me, as I don't have time to 
> provide private support, and so won't reply to such e-mails.  All such 
> questions should be posted on public forums, where I and others can see and 
> answer them.
>
>

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

Reply via email to