Re: Semaphore vs. Shared memory

From: Date: Thu, 19 Oct 2000 01:58:09 +0000
Subject: Re: Semaphore vs. Shared memory
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969332547@lists.php.net to get a copy of this message
Ron, You might have missed the talk I had w/ Derick about this topic (search for: "Shared memory functions in 2 different sections" in the list archives). Below is a copy of one of the msgs: 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. 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. > - The shmop.xml was written by the authors of the shmop extensions, so > it made sense to me not to add them to sem.xml Will CC them too about this topic. Tnxs for the info. --- Jesus M. Castagnetto > > Kind regards, > Derick > > On Tue, 10 Oct 2000, Jesus Castagnetto wrote: > > > I am resending this msg, because I sent if when the list was not > > working. Is about shm_* functions that are in 2 different sections. > > (CC'ing derick@php.net who added the shmop.xml file to CVS). > > > > ----- Forwarded message from Jesus Castagnetto > > <jmcastagnetto@zkey.com> ----- > > Date: Sat, 07 Oct 2000 11:47:03 -0700 > > From: Jesus Castagnetto <jmcastagnetto@zkey.com> > > Reply-To: Jesus Castagnetto <jmcastagnetto@zkey.com> > > Subject: Shared memory functions in 2 different sections? > > To: PHPDOC <phpdoc@lists.php.net> > > > > > > Before I mess up things. Is there any reason why we have some shm_* > > functions in sem.xml and others in shmop.xml? Shouldn't all of them be > > in only one place? As it is now it is confusing. > > I noticed this when I was about to translate shmop.xml to Spanish. > > > > Cheers > > > > --- Jesus M. Castagnetto Quoting Ron Chmara <ron@opus1.com>: > > In the online manuals, the semaphore funtions (3) and some of the shared > memory functions (6 of them) are under "Semaphore and Shared Memory". > Another 6 shared memory functions are under "shmop". > > Why are thyese separate? Would problem could it create if merged? > > -ROnabop > > -- > Brought to you from boop!, the dual boot Linux/Win95 Compaq Presario 1625 > laptop, currently running RedHat 6.1. Your bopping may vary. > ------------------------------------------------- Created by Zkey.com - http://www.zkey.com Awarded PCMagazine's Editors' Choice

« previous php.doc (#969332547) next »