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 052ec0a commit 4f48fcbCopy full SHA for 4f48fcb
src/copyable_task.jl
@@ -21,6 +21,9 @@ See also [`set_taped_globals!`](@ref).
21
return typeassert(task_local_storage(:task_variable), T)
22
end
23
24
+# A dummy global variable used inside `produce` to ensure that `produce` calls never get
25
+# inlined away. This doesn't ever actually get run, provided that the `produce` call is made
26
+# from a `consume` call.
27
__v::Int = 5
28
29
"""
0 commit comments