Exclusive thread
1 posts in topic
Flat View  Flat View

Posted By:   Sanjay_Mistry
Posted On:   Wednesday, June 13, 2001 10:03 AM

How can I ensure that there is one-and-only one Thread created and running ?

Re: Exclusive thread

Posted By:   Alex_Chaffee  
Posted On:   Sunday, June 17, 2001 05:42 PM

You can't. Java is multithreaded. Deal with it :-)

Seriously, you should learn how to make your objects thread-safe; it will remove a lot of paranoia about threads. See http://www.jguru.com/faq/view.jsp?EID=150

About | Sitemap | Contact