'Juhana Sadeharju' wrote about 'Re: [linux-audio-dev] Re: Shared memory' - Tue, Jul 15, 2003 at 10:39:22AM CEST > >From: Jussi Laako <[EMAIL PROTECTED]> > > > >I haven't got any problems with shared memory, > > My alsashmrec with two processes and a lock-free shared memory > buffer has worked fine for a few years. If I were not started > testing and rewriting the tools, I would not have figured out > any problems as well. > > > but afterall, I don't use > >the SystemV method (shm* functions) because it sucks. I think the > >SystemV IPC stuff sucks as whole. I like to use the "real" POSIX way.. > > I would like to test with posix routines as well. > Can you mail me some example code? Plain ascii, no attachments. > If I would have a list of posix shm routines, I would read the > man pages, but then I did read systemv man pages as well, and that > did not help at all. :) Example code would be nice.
W. Richard Stevens's Unix Network Programming Volume 2, Interprocess Commumication contains samples for both SystemV and Posix shared memory routines. ISBN 0130810819 http://www.amazon.co.uk/exec/obidos/ASIN/0130810819/qid=1058364419/sr=1-20/ref=sr_1_2_20/202-3804600-9887832 - Joost
