Hello,
I have an excel file with multiple social media accounts. My template grabs the accounts from this excel file, logs in on the accounts and updates some information.
That works with 1 thread, but it's slow.
When using multiple threads, how can I ensure that no thread work on the same account?
So basically I don't want the same account being processed by 2 or more threads, as it would cause me problems.
What's a way to prevent that from happening?
Thanks.
I have an excel file with multiple social media accounts. My template grabs the accounts from this excel file, logs in on the accounts and updates some information.
That works with 1 thread, but it's slow.
When using multiple threads, how can I ensure that no thread work on the same account?
So basically I don't want the same account being processed by 2 or more threads, as it would cause me problems.
What's a way to prevent that from happening?
Thanks.