Re: Fwd: Shared memory functions in 2 different sections?

From: Date: Thu, 12 Oct 2000 06:33:24 +0000
Subject: Re: Fwd: Shared memory functions in 2 different sections?
References: 1  Groups: php.dev php.doc 
Request: Send a blank email to php-dev+get-34734@lists.php.net to get a copy of this message
On Wed, 11 Oct 2000, Jesus Castagnetto wrote: > > > Quoting Derick Rethans <d.rethans@jdimedia.nl>: > > > 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

« previous php.dev (#34734) next »