threads problem

  • Автор темы Автор темы peterx
  • Дата начала Дата начала

peterx

Новичок
Регистрация
30.07.2016
Сообщения
3
Реакции
0
Баллы
1
Hi,

I have this problem: I have file with:
login1;pass1
login2;pass2
login3;pass3
login4;pass4
login5;pass5
etc.

I want to make script and run it like 20 threads but I want 1 thread to read only 1 line and second thread read only 2 line (not random). Is there any way to get this done?

login;passlogin;pass
 
Just like that impossible.
you can take the first string with the removal and write string to the end.
each thread will work with your string not randomly.

solve ok?
 
it is some idea. I am going to try this.
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)