Skip to content
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

RFC: 'task lifetime #295

Closed
rust-highfive opened this issue Sep 24, 2014 · 2 comments
Closed

RFC: 'task lifetime #295

rust-highfive opened this issue Sep 24, 2014 · 2 comments
Labels
T-lang Relevant to the language team, which will review and decide on the RFC.

Comments

@rust-highfive
Copy link

Issue by huonw
Saturday Aug 24, 2013 at 00:06 GMT

For earlier discussion, see rust-lang/rust#8726

This issue was labelled with: A-lifetimes, B-RFC in the Rust repository


Add a 'task lifetime that represents things that live as long as the task, e.g. borrowing a @T would give a &'task T.

I haven't met any instance where I really needed this; but @bblum said he'd be interested, and I have met a few lifetime issues with borrowing things out of @ in a chain (but this is probably just #3511).

@nrc nrc added the T-lang Relevant to the language team, which will review and decide on the RFC. label Aug 17, 2016
@nrc
Copy link
Member

nrc commented Aug 17, 2016

cc #1705

@withoutboats
Copy link
Contributor

Seeing as how we closed the 'thread RFC and we no longer even have tasks, this issue seems irrelevant nowadays. Closing.

withoutboats pushed a commit to withoutboats/rfcs that referenced this issue Jan 15, 2017
Add CpuFuture::forget() function.
wycats pushed a commit to wycats/rust-rfcs that referenced this issue Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-lang Relevant to the language team, which will review and decide on the RFC.
Projects
None yet
Development

No branches or pull requests

3 participants