Skip to content

Commit dc188b9

Browse files
committed
Update statement about equivalence
1 parent 86ac5a4 commit dc188b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/manual/asynchronous-programming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ to finish before proceeding.
6565

6666
It is common to want to create a task and schedule it right away, so the
6767
macro [`Threads.@spawn`](@ref) is provided for that purpose --- `Threads.@spawn x` is
68-
equivalent to `schedule(@task x)`.
68+
equivalent to `task = @task x; task.sticky = false; schedule(task)`.
6969

7070
## Communicating with Channels
7171

0 commit comments

Comments
 (0)