Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

bits 4

bits #xvc #Rust #crossbeam #select #channels #concurrency

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! 😆