Closed
Description
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.
Metadata
Metadata
Assignees
Labels
No labels
Activity
graydon commentedon Jan 27, 2011
WONTFIX (not required for bootstrapping)
Merge pull request rust-lang#39 from oli-obk/can_you_read_me_now
Merge pull request rust-lang#39 from semarie/openbsd
Merge pull request rust-lang#39 from rillian/ignore
Merge #39
Merge pull request rust-lang#39 from TheDan64/three_nine
Auto merge of rust-lang#8866 - botahamec:unused-rounding, r=llogiq
Auto merge of rust-lang#118488 - andjo403:remove_deadlock, r=SparrowLii
Auto merge of rust-lang#118488 - andjo403:remove_deadlock, r=SparrowLii
Rollup merge of rust-lang#118488 - andjo403:remove_deadlock, r=Sparro…
Auto merge of rust-lang#118488 - andjo403:remove_deadlock, r=SparrowLii
Merge rust-lang#39
Merge rust-lang#39
Merge rust-lang#39
Merge rust-lang#39
feat: type switch (rust-lang#39)
Merge rust-lang#31