PDA

View Full Version : Number of objects in thread?



iraytrace
21st October 2011, 21:13
Is there any way to find out how many objects are in a thread? For example, if I create 6 objects and do moveToThread(otherThread) on each it would be nice to be able to ask otherThread "how many objects (and maybe a list of them) have been moved to you?" I don't see a way to do this.

amleto
21st October 2011, 21:36
no, i dont think there is an easy way for this

wysota
21st October 2011, 22:13
If you need such information then simply keep a list of such objects.