Using J2me, is it possible to read from a file while another thread is writing to it?
Or the writing operation locks the file and prevents the read operation ?
i.e. I’m asking about the possibility of reading & writing in same time.
Using J2me, is it possible to read from a file while another thread is
Share
I tried it on Curve 8520: reading and writing operations terminated successfully without any problems.
So I think, the answer is “yes this can be done”.
But can’t test it on all devices (i.e. I can’t be sure it’s device independent), perhaps when running on other devices it may cause a problem; as happened with Mihir in a previous comment in this discussion thread !!