Skip to content

Tasks aren't actually lightweight :frown: #19526

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

Merged
merged 1 commit into from
Dec 5, 2014

Conversation

steveklabnik
Copy link
Member

Fixes #19402.

not part of the language. This means that in the future, other concurrency
libraries can be written for Rust to help in specific scenarios. Here's an
example of creating a task:
Rust's concurrency primitive is called a **task**. Tasks are similar to
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tasks are threads.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My thought process was basically 'tasks are threads but our type system prevents some stuff that makes them safer than threads in other languages, and if they are threads, that calls into question why they aren't just called threads, and they're going to be at some point, but then we are gonna revise all this anyway, soooooo whatever.'

I wouldn't mind if it just said that though.=

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't really matter since they're about to be renamed.

@alexcrichton alexcrichton merged commit 010cbd0 into rust-lang:master Dec 5, 2014
@steveklabnik steveklabnik deleted the gh19402 branch October 25, 2017 18:27
lnicola added a commit to lnicola/rust that referenced this pull request Apr 28, 2025
The rustdoc file prefix for constants is "constant" not "const"
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

Successfully merging this pull request may close these issues.

update docs with removal of libgreen
4 participants