Hi!
I'm attempting to create a template for wordpress and to save the account&password using the "write to file" to a txt file named accounts.txt
It all goes well but the problem is when I'm using multithreading, it blocks other threads to save to the file since other thread is using it,
and until he finishes, the other threads give me an error and don't save the details of the account.
I've also tried list proccessing but it also created me some sort of a problem when I'm trying to save the list to a file in multithreading..
Does anyone know how to solve it while still using 1 file for the accounts?
Thanks!
I'm attempting to create a template for wordpress and to save the account&password using the "write to file" to a txt file named accounts.txt
It all goes well but the problem is when I'm using multithreading, it blocks other threads to save to the file since other thread is using it,
and until he finishes, the other threads give me an error and don't save the details of the account.
I've also tried list proccessing but it also created me some sort of a problem when I'm trying to save the list to a file in multithreading..
Does anyone know how to solve it while still using 1 file for the accounts?
Thanks!