1) Unified Concurrency
The main mission is to unify usage of heterogeneous synchronization primitives with interface/pattern based Object Oriented approach. Switching between multiple synchronization primitives with one code line change! Agile Development ready solution to synchronization. Easy upgrade from general threading to async/await thanks to the pattern based design! Reduced code complexity. Easy correctness testing. Simplified performance optimization. Currently implemented synchronization primitives cover:
- wrapper for the .Net SpinLock,
- Lock replacement of C# lock (Monitor),
- wrapper around C# lock (monitor) benchmarking only,
- async/await AsyncLock,
- async/await AsyncSpinLock,
- async/await AsyncTicketSpinLock.
2) AsyncTesting SequencerUC
A strongly typed Sequencer is a powerful threading or async/await based unit testing tool to simplify and test correctness in asynchronous and/or parallel code. The Sequencer allows to simplify control/detection of one or many testing thread flows and allows to deterministically setup testing scenario from unit test method and optionally inject data into the tested code to ensure required state.
3) Concurrent Priority Queues
Awaitable Concurrent Priority Queue - Optionally awaitable simple to use Concurrent Priority Queue.
Install-Package GreenSuperGreen.NetStandard -Version 18.104.22.168
dotnet add package GreenSuperGreen.NetStandard --version 22.214.171.124
<PackageReference Include="GreenSuperGreen.NetStandard" Version="126.96.36.199" />
paket add GreenSuperGreen.NetStandard --version 188.8.131.52
Main development effort.
- System.Collections.Immutable (>= 1.5.0)
This package is not used by any popular GitHub repositories.