Reputation: 51
I want to do a multiple concurrent heavy calculations that have the same formula. Do I have to create multiple worker files for each or I just need one?
Upvotes: 2
Views: 207
Reputation: 664599
No, you don't need multiple files. You can instantiate multiple workers from the same script file, and then send them different arguments.
Upvotes: 1