Skip to content

refactor: implement concurrency control for hooks management#71

Merged
soulteary merged 1 commit intomainfrom
2026-01-06-ypua
Jan 6, 2026
Merged

refactor: implement concurrency control for hooks management#71
soulteary merged 1 commit intomainfrom
2026-01-06-ypua

Conversation

@soulteary
Copy link
Copy Markdown
Owner

Added synchronization mechanisms using mutexes to ensure safe concurrent access to LoadedHooksFromFiles and HooksFiles. This change includes read and write locks for managing hooks, preventing race conditions during hook loading and execution. Enhanced the ReloadHooks and ParseAndLoadHooks functions to utilize these locks, improving the stability and reliability of hook operations.

Added synchronization mechanisms using mutexes to ensure safe concurrent access to LoadedHooksFromFiles and HooksFiles. This change includes read and write locks for managing hooks, preventing race conditions during hook loading and execution. Enhanced the ReloadHooks and ParseAndLoadHooks functions to utilize these locks, improving the stability and reliability of hook operations.
@soulteary soulteary merged commit 9c767a5 into main Jan 6, 2026
2 checks passed
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.

1 participant