commit | d955a76696f68e0ce749a5590e08ced56f74dcb7 | [log] [tgz] |
---|---|---|
author | Ben Cox <benjamin.cox@uk.ibm.com> | Wed Jul 22 23:18:07 2015 +0100 |
committer | Dani Megert <Daniel_Megert@ch.ibm.com> | Fri Jul 24 06:18:51 2015 -0400 |
tree | 3d662095178d552ae1e4a35b9cd69d0eaea45af9 | |
parent | a12d0d7d212e03bf3668465d3b2d9198d4b8c1a0 [diff] |
Bug 473316 - Infinite loop in images renderer when few images Take the max of 1 and the division of threads among images so that, if the number of images is fewer than half the number of threads, a batch size of 1 (not 0) is used. Avoid infinite loop when few images. Change-Id: Id284414fc2f929ec1875109206799e87db1c36b9 Signed-off-by: Ben Cox <benjamin.cox@uk.ibm.com>