add teeos std impl

Signed-off-by: 袁浩 <yuanhao34@huawei.com>
This commit is contained in:
袁浩
2023-10-09 11:27:11 +08:00
committed by Sword-Destiny
parent 28968414c5
commit e353eb91fb
18 changed files with 1190 additions and 10 deletions

View File

@@ -1581,6 +1581,7 @@ impl<'scope, T> JoinInner<'scope, T> {
/// [`thread::Builder::spawn`]: Builder::spawn
/// [`thread::spawn`]: spawn
#[stable(feature = "rust1", since = "1.0.0")]
#[cfg_attr(target_os = "teeos", must_use)]
pub struct JoinHandle<T>(JoinInner<'static, T>);
#[stable(feature = "joinhandle_impl_send_sync", since = "1.29.0")]