Skip to content

Commit

Permalink
DOC: Add a note about the changed behavior in is_abandoned()
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed May 2, 2024
1 parent 0976460 commit bdf60a1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,10 @@ impl<T> Producer<T> {

/// Returns `true` if the corresponding [`Consumer`] has been destroyed.
///
/// Note that since Rust version 1.74.0, this is not synchronizing with the consumer thread
/// anymore, see <https://github.com/mgeier/rtrb/issues/114>.
/// In a future version of `rtrb`, the synchronizing behavior might be restored.
///
/// # Examples
///
/// ```
Expand Down Expand Up @@ -629,6 +633,10 @@ impl<T> Consumer<T> {

/// Returns `true` if the corresponding [`Producer`] has been destroyed.
///
/// Note that since Rust version 1.74.0, this is not synchronizing with the producer thread
/// anymore, see <https://github.com/mgeier/rtrb/issues/114>.
/// In a future version of `rtrb`, the synchronizing behavior might be restored.
///
/// # Examples
///
/// ```
Expand Down

0 comments on commit bdf60a1

Please sign in to comment.