Skip to content

}bedrock.cube.data.copy.intercube: get Handshake from process when all Parallel Threads are finished #439

@mircoairjordan

Description

@mircoairjordan

Is your feature request related to a problem? Please describe.

Using this Process with pParallelThreads is not possible, if this process is part of a process chain and the following process has to work with the data of this bedrock process. No handshake possible.

Describe the solution you'd like
I would like a solution where the process is only complete once all threads have been processed.

Describe alternatives you've considered
For example, you could create a file in a directory for each thread, and when the thread is finished, this file is deleted.
In the epilogue, the directory can then be checked to see if there are still threads (files) present. This can be achieved, for example, using a loop that checks every x seconds whether a file = thread is still present. Alternatively, instead of files, flags in a cube could be used.

It is likely that an additional process would be required to implement this construct.

Additional context

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions