Posted on :: Tags: , , , , ,

I want to use channels for Xvc pipelines. A thread will be created for each step and will receive dependency state changes via channels.

Note that there may be thousands of dependencies (e.g., files for a step), and creating these channels beforehand is not feasible.

The Crossbeam library has Select which allows waiting for an arbitrary number of channels. Now, I need to figure out how to structure the threads and update their states. A minor task! 😆