Skip to content

Conversation

@1stub
Copy link
Collaborator

@1stub 1stub commented Dec 13, 2025

I decided to rework the decs processor a fair bit after I realized CI hanging was ultimately based on manually locking the decs processor mutex. There were also a few races I discovered, mainly the decs thread was starting before the whole decs processor object was initialized and was resuming too early in a collection.

So, we now store state as an atomic, don't manually lock anywhere, and ensure the decs thread is paused for the duration of a whole collection (including computing memstats).

I believe this design is a fair bit simpler - it passes CI on my fork and I ran into no problems when testing with thread sanitizer.

@1stub 1stub requested a review from marron-at-work December 13, 2025 20:51
@1stub 1stub merged commit cace825 into BosqueLanguage:main Dec 13, 2025
1 check passed
@1stub 1stub deleted the 12_12_try_again_ci_fix branch December 13, 2025 21:17
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