aspnetcore/src
Martin Costello acabbbc61b
Remove QueuePolicy locks (#23187)
* Use field rather than property

Operate on a field directly, rather than through a property.

* Make field readonly

Make field read-only as its value is never changed.

* Remove lock

Use Interlocked.Decrement() instead of taking a lock.

* Remove lock for increment

This removes the need for the lock in the success case at the cost of an extra  Interlocked.Decrement() call for the failed case.

* Fix typos

Change "availible" to "available".

* Add unit test for full queue

Add a unit test that validates request is not queued if the queue is already full.
2020-06-30 05:11:58 +00:00
..
Analyzers
Antiforgery Fix null reference errors in tests (#23091) 2020-06-18 11:05:54 -07:00
Azure
Components ElementReference FocusAsync API (#23316) 2020-06-26 09:19:50 -07:00
Configuration.KeyPerFile
DataProtection
DefaultBuilder Use implicit logging scope for Activity (#22376) 2020-06-22 10:12:22 -07:00
Features/JsonPatch
FileProviders
Framework
Grpc
HealthChecks Fix null reference errors in tests (#23091) 2020-06-18 11:05:54 -07:00
Hosting [SignalR] Move to generic host (#22602) 2020-06-23 10:46:03 -07:00
Html/Abstractions
Http Fix null reference errors in tests (#23091) 2020-06-18 11:05:54 -07:00
Identity Unquarantine Tests (#23098) 2020-06-22 17:54:52 -07:00
Installers
JSInterop Fix urls of @microsoft/dotnet-js-interop package (#23239) 2020-06-22 16:42:21 -07:00
Localization
Logging.AzureAppServices
Middleware Remove QueuePolicy locks (#23187) 2020-06-30 05:11:58 +00:00
MusicStore Update System.IdentityModel.Tokens.Jwt to 6.6 (#22846) 2020-06-25 14:25:59 -07:00
Mvc Add nullable annotations to Microsoft.AspNetCore.Mvc.Abstractions (#22993) 2020-06-23 22:56:25 +00:00
ObjectPool
ProjectTemplates Replat blazor on net5 (#23078) 2020-06-23 18:19:55 -07:00
Razor Quarantine Publish_HostedApp_WithSatelliteAssemblies (#23479) 2020-06-29 19:34:09 +00:00
Security Add compat switch to opt out of breaking change in AuthZ (#23324) 2020-06-29 21:50:27 -07:00
Servers Obsolete the Libuv transport (#23480) 2020-06-29 19:36:14 -07:00
Shared Sync shared code from runtime (#23430) 2020-06-27 08:09:39 -07:00
SignalR Fixing a type (hubConnetion -> hubConnection) (#23440) 2020-06-28 03:38:42 +00:00
SiteExtensions
Testing
Tools Quarantine dotnet-watch test (#23395) 2020-06-27 01:16:29 +00:00
WebEncoders
submodules