Skip to content

make std.event.Loop work with --single-threaded #1908

Open

Description

@andrewrk

See #1764 (comment)

On MacOS and FreeBSD it will be worth looking into whether kqueue works with file system operations.

When #1907 is implemented, it could be interesting to explore io_submit on Linux instead of epoll, however even so, we would need another implementation for older linuxes that does not rely on a thread.

This issue could potentially require a proposal to modify the single-threaded flag to work at some kind of scope level. Or it could potentially be resolved by making async file system functions actually be blocking in --single-threaded mode.

Activity

  1. added
    standard library
    on Feb 1, 2019
  2. added this to the 0.5.0 milestone on Feb 1, 2019
  3. added
    stage1
    on Feb 1, 2019
  4. modified the milestones: 0.5.0, 0.6.0 on Sep 20, 2019
  5. added
    enhancement
    and removed
    stage1
    on Mar 4, 2020
  6. modified the milestones: 0.6.0, 0.7.0 on Mar 4, 2020
  7. modified the milestones: 0.7.0, 0.8.0 on Oct 10, 2020
  8. modified the milestones: 0.8.0, 0.9.0 on Nov 6, 2020
  9. modified the milestones: 0.9.0, 0.10.0 on May 19, 2021
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

    enhancementstandard library

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions