This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have implemented a LockManager and in it i remove dead clients on certain occassions. Her is a piece of my code that shows how i do this :
I use eclipse to build debug etc. When i start multiple clients and kil one they have the same Thread, which means the thread is still alive. So i cannot test the removal of dead clients. Is there a way i can start multiple threads in Eclipse so i can test this code? Can someone help me with this one?!!