You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by GitBox <gi...@apache.org> on 2019/03/07 12:11:52 UTC

[GitHub] [tomcat] markt-asf commented on issue #145: Adding volatile keywords to member variables

markt-asf commented on issue #145: Adding volatile keywords to member variables
URL: https://github.com/apache/tomcat/pull/145#issuecomment-470502673
 
 
   The claims made above are incorrect. They fail to take account of the requirement that 
   
   > However, compilers are allowed to reorder the instructions in each thread, when this **does not affect the execution of that thread in isolation**. 
   
   (my emphasis)
   
   The claimed re-ordering is not possible because it changes the behaviour of the code.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org