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

Unfriend reactor from message queues #2299

Merged
merged 3 commits into from
Jul 3, 2024

Commits on Jun 18, 2024

  1. reactor: Generalize wakeup() callers

    There are two of them, both check reactor::_sleeping before calling its
    wakeup() method. The check can be made the part of the wakeup() itself.
    
    Signed-off-by: Pavel Emelyanov <[email protected]>
    xemul committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    cee4698 View commit details
    Browse the repository at this point in the history
  2. reactor: Add and use stopped() getter

    To facilitate next patch.
    
    Signed-off-by: Pavel Emelyanov <[email protected]>
    xemul committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    594a8fb View commit details
    Browse the repository at this point in the history
  3. reactor: Unfriend alien and smp queues

    Both used to mess with _sleeping and _stopped bits. Now both are gone,
    and queues can enjoy the public reactor API only.
    
    Signed-off-by: Pavel Emelyanov <[email protected]>
    xemul committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    66b826f View commit details
    Browse the repository at this point in the history