15 packages tagged with “asynclock”
Asynchronous coordination primitives.
A C# lock replacement for async/await, supporting recursion/re-entrance and asynchronous waits. Handles async recursion correctly - note that Nito.AsyncEx does not!
Lazy execution for your C# adventures! Contains classes like AsyncLazy, AsyncContext, AsyncCache and AsyncLock.
The fastest .NET async lock.
Assorted async-friendly mutexes and locks. Includes a scoped mutex (ScopedMutex) for cross-platform key-based locking, async countdown event (CountdownEvent), and others.
Synchronous and asynchronous primitives and coordinations.
A .NET library that provides a variety of reusable functionality, including packed integers (PackedInt16, PackedInt32, and PackedInt64), guard methods, various extension methods, and classes related to the Task Parallel Library (AsyncLazy, AsyncLock, AsyncAutoResetEvent, and AsyncManualResetEvent).
Minimalistic tool for synchronizing access across one or several await calls. Based on code developed and described by Stephen Toub, http://blogs.msdn.com/b/pfxteam/archive/2012/02/11/10266920.aspx.
This project supports custom functions for user's clean code that are not directly provided by .NET. New Features: Safe File Operations (Mythosia.IO) NEW: Safely read text or binary files with graceful error handling, returning empty results instead of throwing exceptions. Example (Text): string content = await "C:\\path\\file.txt".ReadAllTextAsync(); Example (Binary): byte[] data = await "C:\\path\\file.bin".ReadAllBytesAsync(); Directory Operations (Mythosia.IO) NEW: Safely retrieve file listings with flexible search patterns and recursive options. Example (Basic): string[] files = "C:\\folder".GetAllFiles(); Example (Pattern): string[] textFiles = "C:\\folder".GetAllFiles("*.txt", SearchOption.AllDirectories);
Package Description
Async locking mechanism
OneCode.Async extends the basic .NET Task library with lots of frequently-asked helper functions. For example, Task.RunSynchronously executes an async task synchronously; Task.RunPeriodically executes an action periodically. Task.FromEvent creates a Task that waits for an event to occur.
High‑performance foundational utilities for .NET, providing async/threading primitives, lifetime management tools, Span/Memory polyfills, fast path builders, diagnostics helpers, and essential collection utilities. Designed for correctness, speed, and consistent behavior across modern .NET and .NET Framework.
High-performance async synchronization primitives including AsyncReaderWriterLock, AsyncLazy, AsyncLock, AsyncAutoResetEvent, and AsyncManualResetEvent for modern .NET applications.