Skip to content

Are worker threads green? #13132

@shivam-tripathi

Description

@shivam-tripathi

From what I understood after reading some of really helpful articles by Mayank, Deno internally uses green threads to carry out async tasks (which I assume are I/O tasks).

But it's not immediately clear if worker threads are internally green threads or internally backed by native threads. From my very limited understanding after reading the spec - it isn't explicitly specified how worker threads should be implemented internally. Having ability to spawn green threads which communicate via message passing to me personally sounds like a great idea.

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

    Issue actions