Skip to content

Multi-threading synchronization library for .NET which supports timed locks (optionally executing locked code upon time out), warnings on potential deadlocks (locks that take too long), and statistics on lock acquisition.

License

Notifications You must be signed in to change notification settings

Urriellu/SmartLock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SmartLock

Multi-threading synchronization library for .NET which supports timed locks (optionally executing locked code upon time out), warnings on potential deadlocks (locks that take too long), and statistics on lock acquisition.

NuGet version (SmartLock)

Usage

Features

  • Easy to use.
  • Multiplatform (platform agnostic).
  • Patient Locks: Similar to a normal lock, but warns the user when the lock is taking too long.
  • Hard Locks: Lock that throws an exception when it times out.
  • Lazy Locks: Lock that executes the locked code even if the lock fails to get acquired within the given time out.
  • All locking mechanism support returning values.
  • Easily combine multiple locker objects and lock/wait on them at the same time.

Links

About

Multi-threading synchronization library for .NET which supports timed locks (optionally executing locked code upon time out), warnings on potential deadlocks (locks that take too long), and statistics on lock acquisition.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages