- Регистрация
- 16.09.2011
- Сообщения
- 365
- Благодарностей
- 10
- Баллы
- 18
So i have tasks which will tweet every 40 mins going thru the lists of accounts and i do extra repitions for retries.
The template is made to proceed- if accounts temp file doesnt exist- copy and take line. So first thread does that and others wait and then take.
The problem is tho im finding for multiple retries I find for some reason they are recopying the file before the total successes are up. It usualy works wihtout this problem but maybe 30% of the time it happens where it recopies the file before the success count is up.
How to stop that? so it wont recopy the master file to temp while running the current set of threads?
The template is made to proceed- if accounts temp file doesnt exist- copy and take line. So first thread does that and others wait and then take.
The problem is tho im finding for multiple retries I find for some reason they are recopying the file before the total successes are up. It usualy works wihtout this problem but maybe 30% of the time it happens where it recopies the file before the success count is up.
How to stop that? so it wont recopy the master file to temp while running the current set of threads?