Skip to content

Commit

Permalink
remove schedule on already scheduled tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Jan 19, 2025
1 parent e36d7c1 commit 0eaf9c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/src/manual/methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -636,12 +636,12 @@ julia> f(1)
julia> g(1)
"definition for Int"
julia> fetch(schedule(t, 1))
julia> fetch(t)
"original definition"
julia> t = Threads.@spawn f(wait()); yield();
julia> fetch(schedule(t, 1))
julia> fetch(t)
"definition for Int"
```

Expand Down

0 comments on commit 0eaf9c1

Please sign in to comment.