• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Classic Tags threadsafe??

 
Kamal Tripathi
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I saw in HFSJ that classic tags instance might be reused, as such if you have a loop using any instance variable in doAfterBody(), that is liable to change upon muliple requests which are handled in different threads.

So how is this scenario handled ???
 
Remko Strating
Ranch Hand
Posts: 893
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would say this is not thread safe, because the instance variable could be reused between different threads.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic