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

Re-implement threading logic to use coroutines #47

Merged
merged 63 commits into from
Jul 27, 2022

Conversation

hopskipnfall
Copy link
Owner

Also use ktor as a lightweight framework.

@hopskipnfall
Copy link
Owner Author

OK this is in a working state, but there's still more coroutine-related work to be done:

  • Use a Channel which is more coroutine-friendly instead of a BlockingQueue for game data
  • Replace GlobalScope usages with some known context scoped to the user
  • Make sure we're using the right Dispatcher everywhere

@hopskipnfall
Copy link
Owner Author

Actually a few other places like the admin server also require updating I think. but this is good enough for one PR.

@hopskipnfall hopskipnfall merged commit 988317c into master Jul 27, 2022
@hopskipnfall hopskipnfall deleted the clienthandlerstuff branch July 27, 2022 15: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.

1 participant