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

moded spawn_listener #3457

Closed
jesse99 opened this issue Sep 11, 2012 · 1 comment
Closed

moded spawn_listener #3457

jesse99 opened this issue Sep 11, 2012 · 1 comment

Comments

@jesse99
Copy link
Contributor

jesse99 commented Sep 11, 2012

spawn_listener and spawn_conversation should probably take a SchedMode argument. Otherwise developers who need something like SingleThread (to handle blocking foreign code) need to clone the damned things.

@bblum
Copy link
Contributor

bblum commented Sep 11, 2012

This is what the TaskBuilder interface is for. You can already write task().sched_mode(SingleThreaded).spawn_listener etc.

@bblum bblum closed this as completed Sep 11, 2012
bors pushed a commit to rust-lang-ci/rust that referenced this issue May 15, 2021
RalfJung pushed a commit to RalfJung/rust that referenced this issue Apr 13, 2024
MIRI_REPLACE_LIBRS_IF_NOT_TEST: also apply to crates.io crates

This is needed to make rust-lang/compiler-builtins#586 work.
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

2 participants