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

move yield and join into standard library #42

Closed
graydon opened this Issue Jun 22, 2010 · 3 comments

Comments

Projects
None yet
2 participants
@graydon
Contributor

graydon commented Jun 22, 2010

these should not be statements.

@graydon

This comment has been minimized.

Contributor

graydon commented Jan 27, 2011

Shifted to rustc. The same issue will arise there.

@eholk

This comment has been minimized.

Contributor

eholk commented May 27, 2011

There's probably no reason we couldn't do this with spawn too. It kind of makes sense to have spawn, yield, and join all be the same thing, whether library call or core language syntax.

@ghost ghost assigned eholk May 27, 2011

eholk pushed a commit to eholk/rust that referenced this issue Jun 14, 2011

Eric Holk
This is the mega-ucontext commit. It replaces the task switching mech…
…anism with a new one inspired by ucontext. It works under Linux, OS X and Windows, and is Valgrind clean on Linux and OS X (provided the runtime is built with gcc).

This commit also moves yield and join to the standard library, as requested in rust-lang#42. Join is currently a no-op though.

eholk pushed a commit that referenced this issue Jun 14, 2011

This is the mega-ucontext commit. It replaces the task switching mech…
…anism with a new one inspired by ucontext. It works under Linux, OS X and Windows, and is Valgrind clean on Linux and OS X (provided the runtime is built with gcc).

This commit also moves yield and join to the standard library, as requested in #42. Join is currently a no-op though.
@graydon

This comment has been minimized.

Contributor

graydon commented Jun 14, 2011

Landed with ucontexts.

@graydon graydon closed this Jun 14, 2011

llogiq pushed a commit to llogiq/rust that referenced this issue May 9, 2016

oli-obk pushed a commit to oli-obk/rust that referenced this issue Jul 19, 2017

Merge pull request rust-lang#42 from oli-obk/floating_in_space
implement floats by running the ops on the host architecture
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment