> Hi, > > I am little confused... But these nice things have nothing to do > with shared memory, don't they?
Not directly. Shared memory could be implemented as a 'memory system'. If you do a malloc on a shared memory system, you would have to lock it (internally). Same goes for all other operations on the memory system. Basically it is the responsibility of the implementor of a memory system to do the locking when it is required. > So the locking issue is for threads. For accessing the reserved memory yes, for allocating/freeing no. > Cheers > > Jean-frederic Sander
