hello,
i have an app which reads data in files in te specified directory.
I am able to read the existing files and update the database. What i need is synchonisation. Reading operation is a timer based operation. How do i ensure that when the file is being written i dont try to access it. How do i ensure wait till the data is written into the file.
thank you
i have an app which reads data in files in te specified directory.
I am able to read the existing files and update the database. What i need is synchonisation. Reading operation is a timer based operation. How do i ensure that when the file is being written i dont try to access it. How do i ensure wait till the data is written into the file.
thank you