On 4/16/06, John Stanton <[EMAIL PROTECTED]> wrote: > John Stanton wrote: > > I wonder if members can help me with some advice. I have a program > > which is a multi-threaded application server with Sqlite embedded which > > runs on Unix and Windows. For an i/o buffer per thread I have the idea > > of using a mmap'd file so that it can be transferred using > > sendfile/TransmitFile with minimum overhead and no buffer shadowing.
If your threads are so closely coupled to each other they need shared memory maybe they should not be separate threads?