Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Context attributes thread safe or not?

 
aman thind
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am still confused about this.Some sites say since all requests can access them,they are not thread safe.Some sites say,since they can't be changed when the aplication is up,they are thread safe.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
aman thind wrote:.. since they can't be changed when the aplication is up ...


I'd check the veracity of this claim.
 
Arie Prastowo
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you cannot change context init parameter. (thread safe)
but you can change context attribute (not thread safe)
 
aman thind
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Arie Prastowo wrote:you cannot change context init parameter. (thread safe)
but you can change context attribute (not thread safe)


Thanks Arie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic