-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Tracking Issue for SyncView #98407
Copy link
Copy link
Open
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.proposed-final-comment-periodProposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off.Proposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off.
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.proposed-final-comment-periodProposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off.Proposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off.
Type
Fields
Give feedbackNo fields configured for issues without a type.
View all comments
Feature gate:
#![feature(exclusive_wrapper)]This is a tracking issue for the
SyncViewwrapper struct.This structure can be used to upgrade non-
Syncobjects intoSyncones, by only offering mutable access to the underlying object. This can be useful withSend-but-not-Syncfutures (likeBoxFutures)Public API
Steps / History
Exclusiveto sync #97629ExclusivetoSyncViewand make improvements #153038Unresolved Questions
as_pinversusas_pin_refcomes to mind).std::sync::SyncViewis dubious #146245.impl Debug(currently, the only nontrivial API surface that&SyncView<impl ?Sync>unconditionally implements).