63 packages tagged with “threadsafe”
Async synchronization primitives, async collections, TPL and dataflow extensions. The JoinableTaskFactory allows synchronously blocking the UI thread for async work. This package is applicable to any .NET application (not just Visual Studio).
Async synchronization primitives, async collections, TPL and dataflow extensions. The JoinableTaskFactory allows synchronously blocking the UI thread for async work. This package is applicable to any .NET application (not just Visual Studio). This package contains only the library, without a dependency on the analyzers. Use the Microsoft.VisualStudio.Threading package to get the library and analyzers together.
Provides a thread-safe pseudo-random number generator.
A generic, concurrent, portable and flexible Object Pool for .NET. It is completely based on the Code Project article of Ofir Makmal (http://goo.gl/4qig6T). Library is production ready and it is successfully working in real life systems. Original source code has been modified, in order to introduce a Parameterized Object Pool, already drafted by Ofir Makmal in the comments of the article. Moreover, a few unit tests have been added, in order to improve code reliability, and a lot of other small changes have also been applied. Of course, all modified source code is freely available at the project URL of this package. Many thanks to Ofir Makmal for his great work.
Useful set of extensions and classes for simplifying and optimizing thread safe operations and synchronization. Part of the "Open" set of libraries.
Useful set of extensions and classes for simplifying and optimizing read-write synchronization. Part of the "Open" set of libraries.
Useful set of collections, and extensions for collections with thread-safe read-write access options. Part of the "Open" set of libraries.
A collection that supports thread-safe append-only writes and lock-free random access reads.
With EFCore.DbContextFactory you can resolve easily your DbContext dependencies in a safe way injecting a factory instead of an instance itself, enabling you to work in multi-thread contexts with Entity Framework Core or just work safest with DbContext following the Microsoft recommendations about the DbContext lifetime.
Library for leveraging the power of the Lazy class to enable high performance caching at all layers of an application. It provides support for both Sync and Async Lazy caching operations in an extremely lightweight and simple footprint -- with passive cache coding style using Lambdas to maximize server utilization and performance with a blocking, or self-populating, cache implementation!
A lightweight, thread-safe asynchronous JSON-based document database
Represents a thread-safe collection of keys and TaskCompletionSource{T} as values.
A utility for read-write synchronizing by context. Useful for synchronizing collections that are not inherently thread-safe. Reference to Open.Threading.ReadWrite exposes extensions for ReaderWriterLockSlim. Part of the "Open" set of libraries.
An async thread-safe singleton for Instantly OpenApiClient
Wrapper of TcpClient what help focus on WHAT you transfer over TCP not HOW (Async, Thread-safe, TcpSerialization with attribute schema, Big/Little endian, Cancellation support)
DepMan is a thread-safe dependency manager for cross-platform projects, like Xamarin, where some dependencies have to be injected. DepMan supports two patterns: the ImplementsAttribute->Init->Get pattern, and the Register->Get pattern.
Useful set of extensions for processing collections of numerical data. Part of the "Open" set of libraries.
An async thread-safe singleton for a libphonenumber-csharp instance
An efficient thread-safe randomizer that can optionally be used as a source generator.
An async thread-safe singleton for Resend OpenApiClient
A validation module checking if a given phone number is possible
Synchronization Library and Static Analysis Tool for C# 8 DotNetVault is a library and static code analysis tool that makes managing shared mutable state in multi-threaded applications more manageable and less error prone. It also provides a common abstraction over several commonly used synchronization mechanisms, allowing you to change from one underlying type to another (such as from lock free synchronization to mutex/monitor lock based) without needing to refactor your code. Where errors do still occur, they are easier to locate and identify. The project description (a detailed design document) can be read here: https://github.com/cpsusie/DotNetVault/blob/master/DotNetVault_Description_v1.0.pdf. A quick start guide for installation (Windows, Vs 2019+) can be found here: https://github.com/cpsusie/DotNetVault/blob/v0.2.5.x/QuickStart_Install_VS2019_Windows.md. A quick start guide for installation (Tested on Amazon Linux, Rider 2019.3.1+) can be found here: https://github.com/cpsusie/DotNetVault/blob/v0.2.5.x/Quick_Start_Install_Rider_Amazon_Linux.md. A guided tour / quick start guide for this project's functionality can be found here: https://github.com/cpsusie/DotNetVault/blob/v0.2.5.x/Quick_Start_Functionality_Tour.md
Thread-safe list shuffle extension library, using Fisher-Yates shuffle and optional cryptographically-strong random.
Communication library for asynchronous, actor based, distributed computing, based on WCF. Supporting async-await, application internal and external message passing, no config files, service discovery by name, Mono and .NET 3.5 - 4.5.
Marmot is a multi-threaded connection pooling secure for RabbitMQ client that supports Fanout, Direct, and Topic modes.
A thread-safe dictionary that lazily initializes values asynchronously with automatic disposal
With EF.DbContextFactory you can resolve easily your DbContext dependencies in a safe way injecting a factory instead of an instance itself, enabling you to work in multi-thread contexts with Entity Framework or just work safest with DbContext following the Microsoft recommendations about the DbContext lifecycle.
A thread-safe static class that wraps System.Random for generating pseudo-random numbers.
A lightweight, robust, flexible and extensible, type- and thread-safe C# framework, designed to facilitate dynamic data-driven testing in MSTest, NUnit or xUnit frameworks, by providing simple and intuitive ways to generate test cases at runtime with literal names.
Faster and true thread-safe asynchronus event handlers for .NET