Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Other Topics [ARCHIVE]
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Aug 11, 2011 6:22 PM by
How to make a class ' thread safe ' ?
Aug 11, 2011 7:41 AM
Hello all ,
May I know how to make a class 'thread safe ' ??? and is there any difference between a ' thread safe class ' and ' synchronized class ' ???
This content has been marked as final.
Show 1 reply
Re: How to make a class ' thread safe ' ?
Aug 11, 2011 6:22 PM
in response to
You can't make a class thread safe. You can only make its
thread safe, and
of its methods. Consider an Iterator for example. Only its user can provide the required thread safety.