Re: Find an allready running instances of a thread and connect to it
No, not that I know of.
You have a simple problem, though. Use a factory to make all your threads and then you will only need a very simple observer mechanism to obtain knowledge of the running state of all threads.
Can I put it to you that your question is not a 'good' one, though? By that I mean you are asking
'I want to do X (because I think it is a solution to my problem). How do I do it?',
but you would probably be better of asking
'My problem is Y, what is a good way to solve it?'
Last edited by amleto; 12th November 2012 at 19:24.
If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.
Bookmarks