Read and Write in the same file with different process

Posted by muruga on Stack Overflow See other posts from Stack Overflow or by muruga
Published on 2010-05-11T10:47:53Z Indexed on 2010/05/11 10:54 UTC
Read the original article Hit count: 264

Filed under:

I have written the two program. One program is write the content to the text file simultaneously. Another program is read that content simultaneously.

But both the program should run at the same time. For me the program is write the file is correctly. But another program is not read the file.

I know that once the write process is completed than only the data will be stored in the hard disk. Then another process can read the data.

But I want both read and write same time with different process in the single file. How can I do that?

Please help me.

© Stack Overflow or respective owner

Related posts about perl