From 794850ffc30d729e305acb16bb2444c522e6a420 Mon Sep 17 00:00:00 2001 From: Mark Cilia Vincenti Date: Sat, 7 Sep 2024 11:52:47 +0200 Subject: [PATCH] Breaking change that requires different usage for projects targeting frameworks prior to .NET 5.0 in order to cater for potential thread aborts. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index bd0934b..f2787b5 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,8 @@ public void Bar() } ``` +Use the `Lock` class the same way you would use [System.Threading.Lock](https://learn.microsoft.com/en-us/dotnet/api/system.threading.lock?view=net-9.0). + ## Usage (only if targeting .NET 5.0 or later) Use this library the same way you would use [System.Threading.Lock](https://learn.microsoft.com/en-us/dotnet/api/system.threading.lock?view=net-9.0).