dotnet-cas-client icon indicating copy to clipboard operation
dotnet-cas-client copied to clipboard

NETC-48: This issue may be related to a missing volatile keyword

Open edomazlicky opened this issue 12 years ago • 0 comments

This issue may be related to a missing volatile keyword in the static bool "initialized". CasAuthentication.Initialize() appears to be performing a double-check lock technique with this variable so I believe the volatile keyword would need to be present. See the "Multithreaded Singleton" section on this MSDN link: http://msdn.microsoft.com/en-us/library/ff650316.aspx

edomazlicky avatar Feb 01 '13 18:02 edomazlicky