Skip to content

moded spawn_listener #3457

Closed
Closed
@jesse99

Description

@jesse99
Contributor

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.

Activity

bblum

bblum commented on Sep 11, 2012

@bblum
Contributor

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

added a commit that references this issue on May 15, 2021
c9479de
added a commit that references this issue on Apr 13, 2024

Auto merge of rust-lang#3457 - RalfJung:replace-librs, r=RalfJung

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jesse99@bblum

        Issue actions

          moded spawn_listener · Issue #3457 · rust-lang/rust