Skip to content

MultiList: Add thread safety to GenericMultiListClass - #96

Open
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/multilist-thread-safety
Open

MultiList: Add thread safety to GenericMultiListClass#96
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/multilist-thread-safety

Conversation

@seer-by-sentry

Copy link
Copy Markdown

Fixes CLIENT-MN. The issue was that: Concurrent list destruction causes thread A to read from a MultiListNodeClass object freed by thread B.

  • Added a FastCriticalSectionClass mutex to GenericMultiListClass to protect list operations.
  • Modified all methods that modify the list structure (Add, Remove, Contains, etc.) to acquire the mutex before operating on the list and release it afterwards.
  • Modified the MultiListObjectClass destructor to properly handle list removal in a thread-safe manner.

This fix was generated by Seer in Sentry, triggered automatically. 👁️ Run ID: 2153410

Not quite right? Click here to continue debugging with Seer.

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.

0 participants