Added comprehensive README.md documentation to every project and subfolder in the solution. Each README describes the purpose, key files, structure, dependencies, and design patterns for its area. This improves codebase navigability and maintainability, and includes a maintenance note to keep docs in sync with future code changes. |
||
|---|---|---|
| .. | ||
| README.md | ||
| ReleaseWrapperMutex.cs | ||
| ReleaseWrapperSemaphore.cs | ||
README.md
Wrappers
Disposable wrappers enabling using pattern for synchronization primitives.
Key Files
ReleaseWrapperMutex.cs—IDisposablewrapper forMutex. CallsReleaseMutex()on dispose. Used viamutex.UseWaitOne().ReleaseWrapperSemaphore.cs—IDisposablewrapper forSemaphoreSlim. CallsRelease()on dispose. Used viasemaphore.UseWait()/UseWaitAsync().
Both are idempotent (safe to dispose multiple times via _isDisposed flag).
LLM Maintenance: If you modify code in this folder, update this README to reflect the changes. If you notice the README content does not match the current code, automatically update the README to match the code.