Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Sharing information between parent and child threads  RSS feed

 
Siby George
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to share some information between parent and child threads. How could we do it?

Thanks
Siby


Answer:

InhertiableThreadLocal class

http://download.oracle.com/javase/1.4.2/docs/api/java/lang/InheritableThreadLocal.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!