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

improve: add eventChan to execute any in the event loop #1240

Closed
wants to merge 1 commit into from

Conversation

nodece
Copy link
Member

@nodece nodece commented Jul 10, 2024

Motivation

In the producer event loop, we can do anything. We can avoid race conditions when we operate the global data in this loop.

Modifications

  • Add eventChan instead of cmdChan and connectClosedCh

TODO

#1027 needs to be verified.

@nodece nodece force-pushed the add-eventChan-in-the-eventloop branch 3 times, most recently from 42347f1 to 65308ab Compare July 10, 2024 16:01
@nodece nodece force-pushed the add-eventChan-in-the-eventloop branch from 65308ab to 531ccbb Compare July 10, 2024 16:02
@nodece nodece marked this pull request as draft July 11, 2024 10:23
@nodece nodece closed this Aug 14, 2024
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