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

why should LocalIo be safe? #4

Closed
dckc opened this issue May 14, 2014 · 1 comment
Closed

why should LocalIo be safe? #4

dckc opened this issue May 14, 2014 · 1 comment

Comments

@dckc
Copy link
Owner

dckc commented May 14, 2014

If there's mutable state, why should sharing between tasks work?

Apr 07 23:04:40 <DanC_> looking into splitting ambient authority out of rust's s
td lib...
Apr 07 23:05:16 <DanC_> looking into random leads me to fs_open which leads to "
LocalIo is unsafe and should not be. rust-lang#11053" https://github.com/mozilla/rust/iss
ues/11053
Apr 07 23:06:37 <DanC_> funny thing is: if the IoFactory authority were passed a
round explicitly, rust-lang#11053 wouldn't be an issue
Apr 07 23:07:05 <DanC_> they have event loops and such, but the whole standard l
ibrary emphasizes synchronous IO APIs

@dckc
Copy link
Owner Author

dckc commented Feb 22, 2016

This is overtaken by the removal of the rust runtime, I'm pretty sure.

@dckc dckc closed this as completed Feb 22, 2016
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

1 participant