[PHP-DOC] Re: Fwd: Shared memory functions in 2 different sections? From: Derick Rethans (d.rethans <email protected>)
Date: 10/12/00

On Wed, 11 Oct 2000, Jesus Castagnetto wrote:

>
>
> Quoting Derick Rethans <d.rethans <email protected>>:
>
> > Hello,
> >
> > there are 2 different sesions because of this:
> > - The functions in shmop.xml are more low level shared memory
> > functions
> > than the ones in sem.xml.
>
> I gathered that from looking at the description/code
>
> > - The functions in shmop.xml are only available when compiling
> > --with-shmop
> > - The functions in sem.xml are available when cmopiling
> > --with-sysvshm
>
> This is a point that it should be clear in the documentation. From the
> point of view of a user, having them in different places could be
> confusing, even though it makes sense from the point of view of
> development and code.

May be it is a good idea to simply merge the two xml files, and the
code also (so merge sysvshm.c and shmop.c). This will less confuse
ppl.

> I will add sentences clarifying this difference in both XML files, but
> still think that we could merge them into one module or perhaps rename
> the new shm_* functions. The naming of the functions is what will
> generate confusion, because if I were just using PHP, (not looking at
> the code, etc.) I will not expect to have two different modules with
> the similar naming conventions.

I agree, coudl be cnofigusing, but to have two different naming
conventions is confusing too I think. My opinion is that the two
different extensions should me merged into a new one.

Derick Rethans