Threading and file access

Igotcha

Client
Регистрация
07.02.2013
Сообщения
18
Благодарностей
0
Баллы
0
Hi,

If I use file operations within my project, do I need to consider something to prevent collision of threads if I want to use multiple threads in ZP later?

For example, multiple threads access the same account data file, where each line will be removed after use.

Thanks!
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 712
Баллы
113
You have to use lists and tables synced with files if you wanna use files for many threads at the same time.
 

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