Sticky Shared Resources NuGet Package

Sticky Shared Resources is designed to help you manage shared memory between multiple threads.

It allows you to:
* Create resources associated to C# objects
* Acquire these resources in much the same way you might "acquire" a semaphore.
* Connect resources together. If you acquire a resource, this package ensures you will also acquire all resources it is connected to.
* Disconnect resources so threads can pick them up independently again.
This package helps you to manipulate these resources in parallel through "resource groups". You create a resource group and ask it to be populated with all the resources you need. You then manipulate these resources and, once you're done, you free the resource group, which frees the resources for other threads.
Do not create multiple resource groups in the same thread! For the least painful experience, stick to one concurrency control mechanism (monitors / semaphores / resource groups).

If you've got that, you're set!

This package is a stepping stone for a more friendly way to manage shared memory between threads - through pipes.




Got any Sticky Shared Resources Question?





Info

Version: 1.0.2
Author(s): michaelbradley91
Last Update: Saturday, January 2, 2016
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/michaelbradley91/StickySharedResources
NuGet Url: https://www.nuget.org/packages/StickySharedResources


Install
Install-Package StickySharedResources
dotnet add package StickySharedResources
paket add StickySharedResources
StickySharedResources Download (Unzip the "nupkg" after downloading)

1 package depend on this package.


Tags



STATS

must-have-score

.5

avg-downloads-per-day

0

days-since-last-release

3246