ConcurrentHashSet icon indicating copy to clipboard operation
ConcurrentHashSet copied to clipboard

A ConcurrentHashSet implementation

Results 6 ConcurrentHashSet issues
Sort by recently updated
recently updated
newest added

… 中的类型“MaybeNullWhenAttribute”与“System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”中的导入类型“MaybeNullWhenAttribute”冲突。请使用 ConcurrentHashSet\src\ConcurrentHashSet\NullableAttributes.cs 中定义的类型。 ConcurrentHashSet (net6) D:\github\ConcurrentHashSet\src\ConcurrentHashSet\ConcurrentHashSet.cs Microsoft.SourceLink.GitHub use 1.1.1 version. Delete NullableAttributes.cs Support netstandard2.1 and net6 use namespace System.Collections.Concurrent

Should `ConcurrentHashSet` implement `IProducerConsumerCollection`?

Please link to https://github.com/i3arnon/ConcurrentHashSet/issues/14

I often use `ConcurrentDictionary` as a way to force a single instance of a reference typed object. e.g. ```csharp var dict = new ConcurrentDictionary(); var item1 = new MyClass(); var...

To be at least partially exchangeable with the standard HashSet. The best would be to implement all public HashSet functions.

Please consider a .NET 10 target and refactor the internal locking to use [`System.Threading.Lock`](https://learn.microsoft.com/en-us/dotnet/api/system.threading.lock?view=net-9.0) primitive for improved performance. Thanks for considering and creating this!