David George wrote: > On 1/5/2007 6:25 PM, Richard Lynch wrote: > > <snip> >> >> The User Contributed Notes (*always* read those!) make it clear that >> shmod is NOT Sys V. >> >> It looks like it's not POSIX either, but I could be reading too much >> into it... >> >> Seems more similar to POSIX than Sys V, from my limited >> experience^H^H^H^H^H^H^H^H^H^H reading. :-) >> >> It's possible that "name" was changed to "key" just to be more >> consistent with the SysV stuff as a migration. >> >> > Ok, I just downloaded the source and looked at it. shmop is definitely > using the System V Shared Memory interface. The user contributed notes > say it differs from sysvshm. I take that to mean PHP's sysvshm module. > > shmop uses shmget, shmctl, and shmat which are the System V shm > functions (need to use ipcs and ipcrm to manage them). Posix shared > memory uses shm_open(), mmap(), and shm_unlink(). > > Guess I'll take the source for shmop and make posixshm and contribute it > back to PHP. > Unless someone else has already done it. if you didn't find it and we didn't find it then it's not out there (in the open at least) but to be sure check with the guys at internals@xxxxxxxxxxxxx ; and they might have some tips/pointers/gotchas for you. > > Thanks for checking into this for me. Gotta love open source, when in > doubt read the source. :-) > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php