We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e203aa commit dc2bff5Copy full SHA for dc2bff5
src/taskcopy.jl
@@ -24,14 +24,16 @@ end
24
25
"""
26
27
-task_wrapper is a wordaround for set the result/exception to the
+ task_wrapper()
28
+
29
+`task_wrapper` is a wordaround for set the result/exception to the
30
correct task which maybe copied/forked from another one(the original
31
one). Without this, the result/exception is always sent to the
32
original task. That is done in `JULIA_PROJECT/src/task.c`, the
33
function `start_task` and `finish_task`.
34
35
This workaround is not the proper way to do the work it does. The
-proper way is refreshing the current_task (the variable `t`) in
36
+proper way is refreshing the `current_task` (the variable `t`) in
37
`start_task` after the call to `jl_apply` returns.
38
39
0 commit comments