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.
How to restrict execution of same class from two different consoles at same time???
I am facing one problem. I want only one instance of the class to be running on my OS. I have written one loader program and want to execute only one instance of loader at a time. If I execute the loader from one console and while the first loader is running I want to prevent execution of second loader from the another console.Is there any way to restrict the execution of same class from two different consoles.
[ September 05, 2008: Message edited by: Shailesh S. ]
[ September 05, 2008: Message edited by: Shailesh S. ] [ September 05, 2008: Message edited by: Bear Bibeault ]