Bug 575486 - AutoBuildJob booleans need volatile modifier

forceBuild & buildNeeded were accessed from not synchronized methods -
should be made volatile to avoid stale content seen by other threads.

... And to be consistent, set all boolean flags to volatile, just in
case there will be new code reading them from non synchnronized methods.

Change-Id: I2eb1fa57d7e3ca0e65986f598297a97a7e432291
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.resources/+/184205
Reviewed-by: Jörg Kubitz <jkubitz-eclipse@gmx.de>
1 file changed