• Post Reply Bookmark Topic Watch Topic
  • New Topic

Thread safety

 
Cecilia Anderson
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
In the Sun requirements it is stated that both the server and the suncertify.db classes must be threadsafe.
The methods in my Data class are synchronized.
The only thing the server does is "Naming.rebind(..), createRegistry(..)". How can I make that threadsafe??
//Cecilia
 
Sai Prasad
Ranch Hand
Posts: 560
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Cecilia:

The only thing the server does is "Naming.rebind(..), createRegistry(..)". How can I make that threadsafe??

Why do you want to make them thread safe?
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!