Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monitor thread #17

Merged
merged 6 commits into from
Jun 21, 2024
Merged

Monitor thread #17

merged 6 commits into from
Jun 21, 2024

Conversation

ysbaddaden
Copy link
Owner

@ysbaddaden ysbaddaden commented Jun 20, 2024

A monitor thread is now always started to monitor over the ExecutionContexts. It will check for how long a fiber has been running and ask it to yield (still cooperatively) as well as collect the fiber stacks.

closes #5 #9
refs #15 #16

Allows to safely iterate Thread.each and ExecutionContext.each outside
of stop the world situations.
A monitor thread is now always started to monitor over the
ExecutionContext. It will check for how long a fiber has been running
and ask it to yield (still cooperatively) as well as collect the fiber
stacks.
@ysbaddaden ysbaddaden added the enhancement New feature or request label Jun 20, 2024
@ysbaddaden ysbaddaden self-assigned this Jun 20, 2024
@ysbaddaden ysbaddaden linked an issue Jun 20, 2024 that may be closed by this pull request
@ysbaddaden ysbaddaden changed the title Feature/monitoring thread Monitor thread Jun 20, 2024
@ysbaddaden ysbaddaden merged commit c08895a into main Jun 21, 2024
2 checks passed
@ysbaddaden ysbaddaden deleted the feature/monitoring-thread branch June 21, 2024 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regularly collect fiber stack MT: monitoring thread
1 participant