Polpware.Runtime.Concurrency.Spec 10.0.1

Polpware.Runtime.Constructs

Two small .NET Standard 2.0 libraries, published to the Polpware baget feed.

Package Target Purpose
Polpware.Runtime.Concurrency.Spec netstandard2.0 ITwoLayerRWLockProvider<KFIRST, KSECOND>: GetOrCreateRWLocker(first, second) returns a ReaderWriterLockSlim keyed by a two-level key.
Polpware.Runtime.Concurrency netstandard2.0 TwoLayerLockProvider<KFIRST, KSECOND>: the implementation, with a cache of lockers whose entries are evicted after an idle period: once the cache holds more than size entries (default 100), entries idle for more than 10 seconds are removed, so the cache is not bounded. Eviction has a known limitation (a locker another thread holds can be evicted), tracked in https://github.com/chorigen-io/polpware-runtime-constructs/issues/2; the lease API that would fix it is not yet shipped.

Install

The packages are on the Polpware feed, https://baget.polpware.com/v3/index.json:

<PackageReference Include="Polpware.Runtime.Concurrency" Version="10.0.1" />

(Polpware.Runtime.Concurrency.Spec comes with it as a dependency; reference it alone to depend on the interface only.)

Build, test, pack

This repository follows the chorigen .NET library standard; AGENTS.md carries the short form, including the exact commands:

  • CI=true dotnet build -c Release — as CI builds (warnings are errors; nullable and missing-doc warnings are reported only)
  • dotnet test -c Release — xunit
  • CI=true dotnet pack -c Release -o out — runs package validation against the locked API baseline

Versioning and releases

One version per repository, in build/Repo.props, shared by both packages. A release is a vX.Y.Z tag on main equal to that version; CI packs, publishes to baget, verifies the listing, and creates the GitHub Release. CHANGELOG.md follows Keep a Changelog; from 10.0.0 on, every major version records its breaking changes with a migration note, backed by docs/api-audit/<version>.md.

Repository

https://github.com/chorigen-io/polpware-runtime-constructs — main takes changes by pull request only.

Showing the top 20 packages that depend on Polpware.Runtime.Concurrency.Spec.

Packages Downloads
Polpware.Runtime.Concurrency
Provides the implementation for a thread-safe two-layer lock provider.
337
Polpware.Runtime.Concurrency
Provides the implementation for a thread-safe two-layer lock provider.
84
Polpware.Runtime.Concurrency
Provides the implementation for a thread-safe two-layer lock provider.
22
Polpware.Runtime.Concurrency
Provides the implementation for a thread-safe two-layer lock provider.
15
Polpware.Runtime.Concurrency
Provides the implementation for a thread-safe two-layer lock provider.
3

.NET Standard 2.0

  • No dependencies.

Version Downloads Last updated
10.0.1 2 10/12/2026
10.0.0 82 10/10/2026
1.0.0 300 10/04/2025