Is it possibel to write and read to a file, same time by different applications?
Posted on 2011-03-01
Will this be possible?
"GUI application desiged in java reads from a file continuosly and low level code written in C writes to the same file continuosly same time"?
If this read/write continuosly to a common file from single writer and single reader is not possible, can anyone suggest how to have syncronization for Reading/writing?
GUI application and dll both are in same process, i dont know if there is anyway to use IPC mechanism to avoid Reader/Writer's problem between GUI developed in java and back end code developed in C.
1)C function which writes to the same file is a dll function, dll is loaded by GUI application itself.
2)GUI application designed in java using JNI to make C cals to dll.