I do an ad adder, each ad has a separate folder with a photo, but a dialogue needs to be selected before uploading
how to make each thread use a different photo from another folder?
If i write data into a single file using multiple threads then is there any chance of data loss ? Is this method okay to write file or some other method should be used to avoid data loss(if it happens) ?
Thanks
There should be no data loss, but it is still better to use the resource for this purpose