Skip to content

implement detached-send #39

Closed
Closed
@graydon

Description

@graydon
Contributor

The send operators currently always deep-copy when they hit thread boundaries.
They should handle a mode in which a singly-referenced value can be sent
without deep-copying. This could take the form of a 'detached(x)' predicate
with a 'detach x' statement, that must hold before sending; or could simply be
part of the operator definition (that it detaches any memory before sending,
along with dropping the sent slot).

Note that there may be multiply-references leaves within a value that require
detachment themselves, so detachment is a recursive predicate / operation.

Activity

graydon

graydon commented on Jan 27, 2011

@graydon
ContributorAuthor

WONTFIX (not required for bootstrapping)

added a commit that references this issue on Jul 19, 2017

Merge pull request rust-lang#39 from oli-obk/can_you_read_me_now

added a commit that references this issue on Dec 12, 2017
added a commit that references this issue on Nov 29, 2018
added a commit that references this issue on Apr 29, 2021
f9a310b
added a commit that references this issue on Dec 9, 2021

Merge pull request rust-lang#39 from TheDan64/three_nine

80bc9ef
added a commit that references this issue on Jun 4, 2022

Auto merge of rust-lang#8866 - botahamec:unused-rounding, r=llogiq

bc4d39e

7 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @graydon

        Issue actions

          implement detached-send · Issue #39 · rust-lang/rust