hazelcast/hazelcast — pull request #1130 by pveentjer (2013-11-08 22:27:08+00:00)
Title: Made the simulateload a bit nicer for demonstrations

What happened is when there are multiple threads, there is not always an equal balance of load.
Sometimes, due to timing, a threads get an additional task. So e.g. if you are doing 16 tasks
with 2 threads and each task takes 1 second, then you would expect after 8 seconds it to be
complete. The 'bug' was that sometimes it is 9 seconds. With is perfectly fine, but it sucks
for demo's. This commit fixes that problem