Link Details

Link 2277 thumbnail
User 111696 avatar

By bloid
via javaboutique.internet.com
Published: Aug 23 2006 / 17:41

Recently one of my colleagues introduced me to a class from the JDK with which I was not familiar: ThreadLocal. This class allows you to put local data on a thread, so that every module running in the thread can access it. ThreadLocal has been around since JDK 1.2, but hasn't been used much, maybe because of a first, rather poor implementation, performance-wise.
  • 8
  • 0
  • 537
  • 227

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (8)



Voters Against This Link (0)