Skip to content

Commit

Permalink
improve docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
carstenbauer authored Jan 31, 2024
1 parent 05582dc commit a75c1bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/internals.jl
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ macro spawn(args...)
end

"""
@spawnat thrdid expr
Similar to `StableTasks.@spawn` but creates a **sticky** `Task` and schedules it to run on the thread with the given id (`thrdid`).
The task is guaranteed to stay on this thread (it won't migrate to another thread).
"""
Expand Down

0 comments on commit a75c1bd

Please sign in to comment.