Right now, the program can be interrupted while a thread is writing its buffer into the output memory/file. This results in a band visible in the output image.
Let's implement SIGTERM handling, which interrupts the worker threads only at specified points (i.e. not while writing to a file)
Right now, the program can be interrupted while a thread is writing its buffer into the output memory/file. This results in a band visible in the output image.
Let's implement SIGTERM handling, which interrupts the worker threads only at specified points (i.e. not while writing to a file)