• Post Reply Bookmark Topic Watch Topic
  • New Topic

Thread Safe Variables...

 
Poonam Akash
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am quite confused abt the issue of thread safety of variables.
WHich are thread safe vars.
1.Instance variable (F)
2.Class variable (F)
3.Local Variable(T)
4.HttpServlletResponse object (F)
5.HttpServlletResponse object (F)
Plz corect me if i am wrong.
Thanx n bye,
 
Bal Sharma
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Add one more:
HttpServlletRequest object (T)
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!