@ptt-bds Bác có 10 luồng thì đầu tiên nếu không có gì xảy ra nó sẽ lấy 10 dòng đầu tiên, sau đó thì cứ luồng nào "ra đi" nó sẽ lấy dòng tiếp theo, đâu có theo quy luật như 1,11,21,31 vs luồng 1 như bác nói đâu.
i am working on loop with multi-thread all loop using same data please help!!!
-
Please describe your issue in more detail
-
I want to create multiple google accounts, so I have a text file with usernames, passwords, emails, etc.
Using 1 thread with loop(foreach) and list, it works fine, changing the data on every loop like 1 2 3, etc.
However, if I use multiple threads, for example, thread 1, thread 2, thread 3, thread 4, etc., it will work like on the same username, password, and email.The Thread uses Resources, but the Loop only works with lists data.