You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Threads.@threadsfor k in1:Threads.nthreads()
captured[k] = (...) begininclude_string(mdl[k], code[k])
endend
i.e. each thread executes some code code[k] in a module mdl[k], the output (stdout + stderr) is captured per thread and saved in captured[k].
Is this possible with Suppressor? I'm aware I can use locks around the capture but then this would be the same as running the code sequentially afaik.
Thanks
The text was updated successfully, but these errors were encountered:
Hello,
I'd like to do something like the following:
i.e. each thread executes some code
code[k]
in a modulemdl[k]
, the output (stdout + stderr) is captured per thread and saved incaptured[k]
.Is this possible with Suppressor? I'm aware I can use locks around the capture but then this would be the same as running the code sequentially afaik.
Thanks
The text was updated successfully, but these errors were encountered: