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

Allow async events processing without holding total_consistency_lock #2199

Merged

Commits on Apr 19, 2023

  1. Fix unrelated warnings

    Just two trivial compiler warnings that are unrelated to the changes
    made here.
    tnull committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    0d59417 View commit details
    Browse the repository at this point in the history
  2. Actually test futures builds

    Currently the BP `futures` tests rely on `std`. In order to actually
    have them run, we should enable `std`, i.e., remove
    `--no-default-features`.
    tnull committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    36bf817 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2023

  1. Configuration menu
    Copy the full SHA
    b546822 View commit details
    Browse the repository at this point in the history
  2. Allow events processing without holding total_consistency_lock

    Unfortunately, the RAII types used by `RwLock` are not `Send`, which is
    why they can't be held over `await` boundaries. In order to allow
    asynchronous events processing in multi-threaded environments, we here
    allow to process events without holding the `total_consistency_lock`.
    tnull committed Apr 21, 2023
    Configuration menu
    Copy the full SHA
    f2453b7 View commit details
    Browse the repository at this point in the history