Skip to content

Conversation

@Seramis
Copy link
Member

@Seramis Seramis commented Jul 2, 2025

Description

PR #3 fixes issues where appropriate locking was not acquired. All actions, both reading and writing, shared a single simple lock between them.

This PR improves the implementation to use ReaderWriterLockSlim so that multiple reader actions could run at the same time.

Related Issues

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Other (please specify):

Checklist

  • The PR is submitted to the correct branch (main).
  • My code follows the project's coding style. (.editorconfig)
  • I have commented my code, particularly in hard-to-understand areas and public interfaces.
  • I have added or updated tests for the changes I made.
  • All new and existing tests passed.
  • I have updated the documentation where applicable.

@Seramis Seramis self-assigned this Jul 2, 2025
@Seramis Seramis merged commit f68572b into main Jul 2, 2025
3 checks passed
@Seramis Seramis deleted the Use-ReaderWriterLock branch July 2, 2025 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants