• Post Reply Bookmark Topic Watch Topic
  • New Topic

ThreadLocal

 
Ashish Chande
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to Know what is ThreadLocal and what is Inheritable ThreadLoacal & what does it do. I actually went through Sun's documentation but couldn't understand. is this topic included in Scjp.
Thanks in Advance
Ashish
 
Jim Baiter
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basically ThreadLocal is like a singleton but the singleton
is one per thread. Jack Shirazi's book has a nice explanation
and this chapter is online at:
http://www.oreilly.com/catalog/javapt/chapter/ch04.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!