Add comment explanation
This commit is contained in:
parent
05702e81e6
commit
e107c47913
|
|
@ -196,6 +196,10 @@ namespace Microsoft.AspNet.Server.Kestrel.Http
|
|||
{
|
||||
Extra[key] = feature;
|
||||
|
||||
// Altering only an individual bit of the long
|
||||
// so need to make sure other concurrent changes are not overridden
|
||||
// in a lock-free manner
|
||||
|
||||
long currentFeatureFlags;
|
||||
long updatedFeatureFlags;
|
||||
do
|
||||
|
|
|
|||
|
|
@ -93,6 +93,10 @@ namespace Microsoft.AspNet.Server.Kestrel.Http
|
|||
{{
|
||||
Extra[key] = feature;
|
||||
|
||||
// Altering only an individual bit of the long
|
||||
// so need to make sure other concurrent changes are not overridden
|
||||
// in a lock-free manner
|
||||
|
||||
long currentFeatureFlags;
|
||||
long updatedFeatureFlags;
|
||||
do
|
||||
|
|
|
|||
Loading…
Reference in New Issue