-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Timon
committed
Oct 10, 2023
1 parent
a48afb0
commit 6006919
Showing
11 changed files
with
45 additions
and
22 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
MemoizR.AsyncLock/AsyncAsymmetricLock.cs → ...tructuredAsyncLock/AsyncAsymmetricLock.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace MemoizR.AsyncLock; | ||
namespace MemoizR.StructuredAsyncLock; | ||
|
||
public class AsyncAsymmetricLock | ||
{ | ||
|
32 changes: 32 additions & 0 deletions
32
MemoizR.StructuredAsyncLock/MemoizR.StructuredAsyncLock.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFramework>net7.0</TargetFramework> | ||
<PackageId>MemoizR.StructuredAsyncLock</PackageId> | ||
<Version>0.0.5</Version> | ||
<Authors>Timon Krebs</Authors> | ||
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
<PackageReadmeFile>NUGET_ASYNC_LOCK_README.md</PackageReadmeFile> | ||
<PackageIcon>MemoizR-Small.png</PackageIcon> | ||
<!-- Optional: Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) --> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
|
||
<!-- Optional: Embed source files that are not tracked by the source control manager in the PDB --> | ||
<EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
|
||
<!-- Optional: Build symbol package (.snupkg) to distribute the PDB containing Source Link --> | ||
<IncludeSymbols>true</IncludeSymbols> | ||
<SymbolPackageFormat>snupkg</SymbolPackageFormat> | ||
<PackageTags>Memoization, StructuredConcurrency, Structured Concurrency, Graph, Dependency, Dependencies, Dynamic, Dynamic Dependencies, Concurrency, Lazy, Resolve, Perf, Performance, Parallel, Parallel Computing, Sync, Synchronization, State, State Synchronization</PackageTags> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<None Include="..\docs\NUGET_ASYNC_LOCK_README.md" Pack="true" PackagePath="\" /> | ||
<None Include="..\docs\MemoizR-Small.png" Pack="true" PackagePath="\" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" /> | ||
<PackageReference Include="Nito.Collections.Deque" Version="1.1.1" /> | ||
</ItemGroup> | ||
|
||
</Project> |
2 changes: 1 addition & 1 deletion
2
MemoizR.AsyncLock/Nito/AsyncWaitQueue.cs → ...tructuredAsyncLock/Nito/AsyncWaitQueue.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...izR.AsyncLock/Nito/AwaitableDisposable.cs → ...uredAsyncLock/Nito/AwaitableDisposable.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ck/Nito/TaskCompletionSourceExtensions.cs → ...ck/Nito/TaskCompletionSourceExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
using MemoizR.AsyncLock; | ||
using MemoizR.StructuredAsyncLock; | ||
|
||
namespace MemoizR; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
using MemoizR.AsyncLock; | ||
|
||
namespace MemoizR; | ||
|
||
public sealed class Signal<T> : MemoHandlR<T> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# MemoizR:AsyncLock | ||
|
||
AsyncAsymmetricLock should only be used in accordance with structured sequential concurrency. | ||
No Task should be stored in a variable to ensure structured sequential concurrency. | ||
|
||
Otherwise it there will be undefined behaviour. |