Hi:

When I use "ps -p -t" to get the process and thread information, I
ofter found many "Binder Thread" belong to one Process.

My understanding is:
Only one "Binder Thread" is the "main Binder Thread" of that process.
It would be blocked in  ioctl used for "waiting to read".  (later to
execute some command by "BnXXXX::onTransact" according to read
contents. )
And it would be wake up by ioctl "writing" invoked by another
process's BpBinder::transact.

I found
/*spawn a new thread if we leave this out */
at the end of binder_thread_read.

My question is:
What the "NONEMain Binder Thread" used for?
Why new thread spawned?
What is it's relationship with old "main binder thread"?

Thanks&BstRgds
gan

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

Reply via email to