Hi,
I'm writing a filter plugin that uses tiles to process the image. Can anyone suggest the best method to implement multithreading with tiles please?
The options I'm thinking of are:
1. The threads work together to complete each tile, so one tile is done at a time but divided up into per-thread sections.
2. Each thread works on its own tile, so multiple tiles are completed in parallel. There'd be a queue of tiles so when a thread has finished it would move on to the next available tile.
Thanks,
Neil
I'm writing a filter plugin that uses tiles to process the image. Can anyone suggest the best method to implement multithreading with tiles please?
The options I'm thinking of are:
1. The threads work together to complete each tile, so one tile is done at a time but divided up into per-thread sections.
2. Each thread works on its own tile, so multiple tiles are completed in parallel. There'd be a queue of tiles so when a thread has finished it would move on to the next available tile.
Thanks,
Neil