Don't stabilize ScopedJoinHandle::is_finished yet.
This commit is contained in:
parent
5a25e228eb
commit
25eb060779
@ -316,7 +316,6 @@ pub fn join(self) -> Result<T> {
|
||||
///
|
||||
/// This function does not block. To block while waiting on the thread to finish,
|
||||
/// use [`join`][Self::join].
|
||||
#[stable(feature = "thread_is_running", since = "1.61.0")]
|
||||
pub fn is_finished(&self) -> bool {
|
||||
Arc::strong_count(&self.0.packet) == 1
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user