a4a389c10d11cd8089430b972b6088ce4da3c84e
The job dispatcher has been hooked up and four threads are rendering the scene. There's a super important caveat, though: The job submission is blocking and will prevent the main thread from continuing to the result collection. The threads will be unable to contiinue without having output space, though. Since the buffers are only size 1, this will cause 4 scanlines to be rendered, and then nothing else to be done. Deadlock. Bumping the input buffer to 100 lets the submission loop fill up the workload and then move on to collecting. There's also no scanline sorting, so everything gets <<wiggly>>.
Description
Languages
Rust
100%