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

sync::watch: Add has_changed flag and method to Ref #4758

Commits on Jun 8, 2022

  1. sync::watch: Add Receiver::borrow_and_update_if_changed()

    This function could otherwise not be implemented in terms of the public
    API, because invoking has_changed() and borrow_and_update() independently
    is not thread-safe.
    uklotzde committed Jun 8, 2022
    Copy the full SHA
    6445c44 View commit details
    Browse the repository at this point in the history
  2. sync::watch: Add an updated flag and method to Ref

    The flag is only set by Receiver::borrow_and_update(). Otherwise it is
    initialized with `false`.
    uklotzde committed Jun 8, 2022
    Copy the full SHA
    63c9987 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2022

  1. Copy the full SHA
    b4fef98 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2022

  1. Reword API docs

    Co-authored-by: Alice Ryhl <aliceryhl@google.com>
    uklotzde and Darksonn committed Jun 28, 2022
    Copy the full SHA
    67f94a7 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2022

  1. Copy the full SHA
    f173977 View commit details
    Browse the repository at this point in the history