Skip to content

Commit dc2bff5

Browse files
author
KDr2
committed
docs update
1 parent 3e203aa commit dc2bff5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/taskcopy.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,16 @@ end
2424

2525
"""
2626
27-
task_wrapper is a wordaround for set the result/exception to the
27+
task_wrapper()
28+
29+
`task_wrapper` is a wordaround for set the result/exception to the
2830
correct task which maybe copied/forked from another one(the original
2931
one). Without this, the result/exception is always sent to the
3032
original task. That is done in `JULIA_PROJECT/src/task.c`, the
3133
function `start_task` and `finish_task`.
3234
3335
This workaround is not the proper way to do the work it does. The
34-
proper way is refreshing the current_task (the variable `t`) in
36+
proper way is refreshing the `current_task` (the variable `t`) in
3537
`start_task` after the call to `jl_apply` returns.
3638
3739
"""

0 commit comments

Comments
 (0)