Thanks for the reply,

I have one more question, what is the use case when we would hold a  wp<> ?

Also if I understand correctly, both sp<> and wp<>  correspond to 32
bit handles to the objects living in remote process.

Please let me know if this understanding of mine is correct?

In case we hold  sp<> it's guaranteed that the object in remote
process won't be destroyed until all strong pointers to it are
released(or there is a crash in the
process holding this object)?

Please let me know if this understanding of mine is correct?

regards
-Nitin

On Thu, May 12, 2011 at 3:30 AM, Dianne Hackborn <[email protected]> wrote:
> The thread priority propagation is just...  well, to have the thread
> executing the IPC to run at the same priority as the thread sending it.  So
> the work being down is scheduled at the same importance as the thread
> wanting to have that work done.
>
> On Wed, May 11, 2011 at 5:01 PM, Nitin Mahajan <[email protected]> wrote:
>>
>> Hello,
>>
>> While reading through the OpenBinder documentation I came across a
>> statement which said
>>
>> "The kernel module emulates a thread migration model by propagating
>> thread priorities across processes as IPCs are dispatched".
>>
>> This means that the priority of the thread executing the IPC in remote
>> process is made same as priority of the thread initiating the IPC in
>> it's process.
>>
>> How does this priority propagation helps?
>>
>> Can someone please explain this "Emulation of Thread Migration" in
>> Android binder more clear?
>>
>> Thanks and regards
>> -Nitin
>>
>> --
>> unsubscribe: [email protected]
>> website: http://groups.google.com/group/android-porting
>
>
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> 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.
>
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to