apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sander Striker" <stri...@samba-tng.org>
Subject RE: apr_memory_system.c;apr_memory_system.h
Date Tue, 08 May 2001 10:32:13 GMT
> 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


Mime
View raw message