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

Add EventGroupSelectorManager instead of ActorSelectorManager #4066

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

marychatte
Copy link
Member

No description provided.

val scope = newThreadContext(nThreads = 1).wrapInScope()

fun run(): Job {
return scope.launch { runLoop() }
Copy link

@andrsuh andrsuh Jun 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if coroutine completes unexpectedly? Can this lead to the situation where we loose event loops one by one silently? Do we need some completion handler that analyse if the completion was controlled or unexpected, notify about this and resurrect coroutine to maintain the constant number of event loops?

@e5l
Copy link
Member

e5l commented Jun 14, 2024

@marychatte, could you check the CI?

@marychatte marychatte marked this pull request as draft June 14, 2024 07:01
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.

3 participants