Skip to content

TypedArena should implement Send. #22847

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
pythonesque opened this issue Feb 26, 2015 · 2 comments
Closed

TypedArena should implement Send. #22847

pythonesque opened this issue Feb 26, 2015 · 2 comments

Comments

@pythonesque
Copy link
Contributor

(But not Sync).

I don't think this applies to Arena, since it uses Rc.

@steveklabnik
Copy link
Member

nominating for backcompat-libs, needsdecision

@pnkfelix
Copy link
Member

pnkfelix commented Mar 5, 2015

the arena crate is unstable. removing nomination. (does not need decision.)

pczarn added a commit to pczarn/rust that referenced this issue Jan 5, 2016
Implements in-place growth. Removes the use of Rc within Arena.
Closes rust-lang#22847
bors added a commit that referenced this issue Jan 11, 2016
Fixes #18037 "TypedArena cannot handle zero-sized types".
Closes #17931 "improve chunk allocation scheme used by Arena / TypedArena".
Closes #22847 "TypedArena should implement Send". - N.B. Arena cannot implement Send, since it may contain non-Send values.
Closes #18471 "`Arena::alloc_copy_inner` (at least) should be renamed and made public." - Added `Arena::alloc_bytes`.
Closes #18261 "support clearing TypedArena with the chunks preserved". - Only the largest chunk is preserved.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants