From a75c1bde1f2a76dc8d40a550a399f241654fbdd6 Mon Sep 17 00:00:00 2001 From: Carsten Bauer Date: Wed, 31 Jan 2024 19:57:51 +0100 Subject: [PATCH] improve docstring --- src/internals.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/internals.jl b/src/internals.jl index 34bb325..d2c5c08 100644 --- a/src/internals.jl +++ b/src/internals.jl @@ -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). """