Skip to content

Conversation

@notgull
Copy link
Member

@notgull notgull commented Jun 25, 2023

Similar to how async-io has most of its global state in the Reactor structure, this PR sets it up so that all of this crate's global state is contained in a single Reaper structure instead of being scattered about.

@taiki-e
Copy link
Collaborator

taiki-e commented Jun 30, 2023

LGTM, but it seems that CI is failing.

@notgull
Copy link
Member Author

notgull commented Jun 30, 2023

Yeah it looks like there's a condition where a notification is dropped, for some reason. I can replicate this about 1 in 10 times on my local machine. Will investigate.

notgull and others added 4 commits September 10, 2023 15:42
There was a panic where the reaper thread tried to access the OnceCell
before it was initialized. This was fixed by using wait_blocking()
instead of get().unwrap()

Signed-off-by: John Nunley <dev@notgull.net>
Signed-off-by: John Nunley <dev@notgull.net>
@notgull notgull merged commit 52a693e into master Sep 10, 2023
@notgull notgull deleted the notgull/reaper branch September 10, 2023 23:00
@notgull notgull mentioned this pull request Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants