I am attempting to divide a tstringlist of accounts evenly among 10 threads.
I am inserting the "batches" of accounts into different arrays.
So if i had 30 accounts, i would be dividing the list up into batches of 3 accounts and inserting them into their appropriate account array.. that way each thread can process 3 accounts and speed up things
problem I am running into.. is when the division is not even.. I've tried 3 different variations of code but when i change up the amount of accounts i get all funky results. I am hoping one of you have a very clean and simple way to do this without any errors.. regardless of how many accounts i use.
Remember i am only using 10 threads.. so essentially the list has to be split up between 10 threads evenly.