Closed antialize closed 8 years ago
Everything, but pipeline
and nodeset
can be safely dealloced before running the pipeline it seems.
Deallocing a pipeline
causes a segfault later.
I haven't looked into nodeset
, could you give me an example of how you would use nodeset
as a temporary object?
Off the top of my head (does not compile)
template
/Jakob
On 4 Aug 2016 17:40, "Asger Hautop Drewsen" notifications@github.com wrote:
Everything, but pipeline and nodeset can be safely dealloced before running the pipeline it seems.
Deallocing a pipeline causes a segfault later.
I haven't looked into nodeset, could you give me an example of how you would use nodeset as a temporary object?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
We now don't need to keep any of those objects around as of 42e5ffb31c853b47a39ba8105648b848001b7dbc
It would be nice if the following code would work
tp::virtual_chunk<int> method() { tp::passive_sorter<int> s1; return tp::virtual_chunk<int>(s1.input(), s2.output()); }
However it is not clear currently if we need to keep the passive_sorter object around until the pipeline has been executed. We have many such temp objects that we would like to not keep around, such as: