AFAIK, as Dianne said the thread is simply scheduled by binder. It's up to the kernel's scheduler to decide when it's actually executed, and there's no guarantee it is "immediate".
On Oct 27, 11:21 pm, Nitin Mahajan <np.maha...@gmail.com> wrote: > On Thu, May 12, 2011 at 3:30 AM, Dianne Hackborn <hack...@android.com> 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. > > I was wondering how does the thread priority propagation ensure that > the thread executing the IPC runs immediately? > > There might be one or more higher priority threads, waiting in the > server process... > > Am I missing something basic here, in that case you can just give me > some pointers towards this. > > Thanks in advance > regards > -Nitin > > > > > > > > > > > On Wed, May 11, 2011 at 5:01 PM, Nitin Mahajan <np.maha...@gmail.com> 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: android-porting+unsubscr...@googlegroups.com > >> website:http://groups.google.com/group/android-porting > > > -- > > Dianne Hackborn > > Android framework engineer > > hack...@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. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting