One way to fix it would be to allocate each thread a range,
monotonically increasing, and giving each range say 1M integers.

Another would be to use the same series across all threads. Thats
probably simpler.

-Rob

_______________________________________________
Mailing list: https://launchpad.net/~launchpad-dev
Post to     : launchpad-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~launchpad-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to