Closed
Description
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.
Metadata
Metadata
Assignees
Labels
No labels