Synchronizing Named Pipe Dialogs

Communicating processes can synchronize their named pipe dialogs by calling DosResetBuffer after each call to DosWrite.

When used with external files, DosResetBuffer flushes the buffer cache of the requesting process to disk. When used with named pipes, this function blocks the calling process at one end of the pipe until the data the calling process has written to the pipe has been successfully read at the other end of the pipe.


[Back: Writing to Named Pipes]
[Next: Determining Pipe Status]