Patent ID: 8688925

Claim:
A method for communication between memory-related processes in a computer comprising an operating system software layer having an unmodified write process for writing data of a file into a memory region, an unmodified read process for reading said data of said file from said memory region, an open process for opening said file, and a close process for closing said file, and wherein every time when all data contained in the memory region have been completely read by the read process, an end of file message that an end of the file has been reached is generated by an operating system function reading said data, and wherein said computer also has a user software layer separate from said operating system layer and containing at least one user program, comprising the steps of: providing a synchronization function independent of said write process and said read process in said operating system software layer or in said user software layer, said synchronization function comprising a synchronization read function element, a synchronization write function element, a synchronization open function element, and a synchronization close function element, said elements being independent of but linked to said respective read process, write process, open process, and close process; and said synchronization read function element of said synchronization function, given temporally overlapping execution of said write process and said read process, performing the steps of receiving said end of file message from said operating system function reading said data from said memory region, relaying the read data to said read process but withholding said end of file message when relaying said read data, receiving a release message based on monitoring of the write process indicating a closing of the file, and lifting the withholding of the end of file message upon receiving the release message.