Skip to content

std::thread Documentation #33321

Description

@oberien

The Thread type in documentation of thread mentions, that

Threads are represented via the Thread type, which you can get in one of two ways:

  • By spawning a new thread, e.g. using the thread::spawn function.

As stated a few lines later in Spawning a thread

a call to spawn produces a JoinHandle

Also the documentation of thread::spawn says

Spawns a new thread, returning a JoinHandle for it.

Activity

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

      Issue actions