Re: [PHP4BETA] sapi_xxx_module()

From: Date: Sat, 28 Aug 1999 12:20:04 +0000
Subject: Re: [PHP4BETA] sapi_xxx_module()
References: 1 2 3 4 5 6  Groups: php.version4 
Request: Send a blank email to php-version4+get-3805@lists.php.net to get a copy of this message
At 12:58 28/08/99 , Sascha Schumann wrote:
A shared memory pool in a multiprocess environment is almost completely useless. It's useless since you would want to use it for shared resources, but since you don't control these resources, you can't do anything with this shared pool. The most you'd be able to share through this pool is zval's or the likes, and I doubt it's worth messing with shared memory for those.
    Please define "control."
Well, 'use' would be more accurate. For example, if you allocate an SQL link, which is typically some pointer to a connection structure, that pointer is meaningless in any process except for the process that created it. You can't create it in shared memory (it's in the library code), and thus, you cannot share that link in between processes. Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/ For a PGP public key, finger bourbon@netvision.net.il

« previous php.version4 (#3805) next »