This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Threads and Synchronization and the fly likes what is means by thread save ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "what is means by thread save ?" Watch "what is means by thread save ?" New topic
Author

what is means by thread save ?

Nakata kokuyo
Ranch Hand

Joined: Apr 13, 2005
Posts: 437
hi, good day, what is actually means by thread save ? thank you
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24166
    
  30

"Thread safe?" If a class or method is "thread safe", it means it can be used from multiple different threads simultaneously, without anything bad happening. Writing thread-safe code can be tricky.


[Jess in Action][AskingGoodQuestions]
 
wood burning stoves
 
subject: what is means by thread save ?
 
Similar Threads
doubly linked list using one reference
exam cram
Another one from Dan
Problem in saving jsp file
Changes which we made in JTree are not reflecting in our file