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;
|
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 currentFeatureFlags;
|
||||||
long updatedFeatureFlags;
|
long updatedFeatureFlags;
|
||||||
do
|
do
|
||||||
|
|
|
||||||
|
|
@ -93,6 +93,10 @@ namespace Microsoft.AspNet.Server.Kestrel.Http
|
||||||
{{
|
{{
|
||||||
Extra[key] = feature;
|
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 currentFeatureFlags;
|
||||||
long updatedFeatureFlags;
|
long updatedFeatureFlags;
|
||||||
do
|
do
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue