We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45b48b9 commit 89a8162Copy full SHA for 89a8162
src/libstd/thread/mod.rs
@@ -1276,6 +1276,9 @@ impl<T> JoinInner<T> {
1276
#[stable(feature = "rust1", since = "1.0.0")]
1277
pub struct JoinHandle<T>(JoinInner<T>);
1278
1279
+unsafe impl<T> Send for JoinHandle<T> {}
1280
+unsafe impl<T> Sync for JoinHandle<T> {}
1281
+
1282
impl<T> JoinHandle<T> {
1283
/// Extracts a handle to the underlying thread.
1284
///
0 commit comments