R# 6.0 has two new code inspections for double checked locking:
- One suggests using a volatile variable, which is obvious and reasonable; however, is it really necessary?
- The other says "... Read access to checked field", which I do not understand.
Is there any background information on these suggestions - somewhere on the web (publication, ...) or elsewhere? I googled the terms in various combinations, but did not find any.
Thx a lot!