title: IPC over memory mapped files
body: <p>I'm trying to find what is the idiomatic way to determine how to synchronize between reader and writer when doing IPC over memory mapped files.</p>
  
  <p>In .NET, there is the <code>MemoryMappedViewStream</code>, which do act as a stream, <em>almost</em>.
  It seems like it will always see the stream as the size of the block size and there is no way to continuously read from it.
  (This question is not really .NET specific though)</p>
  
  <p>So how is this done usually, do you use wait handles across processes to signal when its time to read/write?</p>
  
  <p>Are there other ways to notify the reader when it is safe to read the shared buffer?</p>