Skip to content
/ Locks Public

Synchronization mechanisms in .NET (Distributed & Memory Locks)

License

Notifications You must be signed in to change notification settings

adimiko/Locks

Repository files navigation

Synchronization mechanisms in .NET 🔐

Prevent race contidion

Package

Build & Tests

⭐ - The star motivates me a lot!

Usage

MemoryLock

using (await memoryLock.AcquireAsync("YOUR_KEY"))
{
   // Shared resource (multi-threaded environment)
}

DistributedLock

await using (await distributedLock.AcquireAsync("YOUR_KEY"))
{
   // Shared resource (distributed environment)
}

⚖️ License

This project is under the MIT License.

☢️ Disclaimer

The project is under development and not ready for production use.

About

Synchronization mechanisms in .NET (Distributed & Memory Locks)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages