Skip to content

Arc example rarely executes all threads #1557

@c-antin

Description

@c-antin

Running the example of Arc results in a variing number of prints.

Is this a bug in rust or is thread::spawn not used correctly/up-to-date? Sometimes there are even incomplete prints:
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions