You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-...@googlegroups.com
Hi, Is it possible to retrieve the id of a thread that called a certain function? (assuming this function can be called from several threads) I know that it is possible to ask a Binder object which Process had called it, but is it also possible with threads from the same process?
Thanks
blake
unread,
Nov 21, 2012, 10:33:19 AM11/21/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-...@googlegroups.com
Sure! Thread.currentThread() from within the function, will give you the thread on which the function is being called.