Adding volatile to various variables used on multple threads.

Change-Id: I143de4981461e6f07688a7ffda906fabbcc97948
1 file changed