Skip to content

Commit 0eaf9c1

Browse files
remove schedule on already scheduled tasks
1 parent e36d7c1 commit 0eaf9c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/manual/methods.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -636,12 +636,12 @@ julia> f(1)
636636
julia> g(1)
637637
"definition for Int"
638638
639-
julia> fetch(schedule(t, 1))
639+
julia> fetch(t)
640640
"original definition"
641641
642642
julia> t = Threads.@spawn f(wait()); yield();
643643
644-
julia> fetch(schedule(t, 1))
644+
julia> fetch(t)
645645
"definition for Int"
646646
```
647647

0 commit comments

Comments
 (0)