Re: Re: global variables
| From: | Siewn | Date: | Tue, 07 Dec 2004 22:39:37 +0000 |
| Subject: | Re: Re: global variables | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-1706@lists.php.net to get a copy of this message | ||
Derick Rethans wrote:
On Tue, 7 Dec 2004, Siewn wrote:What I understand is I possibly may copy and use apc_shm.c (or mm.c for mmcache) in my extension but I'm afraid it may be hard to make it work without memory leakThanks ! I finally understood the "trick". But unfortunetly I don't know many things about shared memory and it's probably not so simple... Do you think it's possible (realistic) to reuse apc or mmcache shared memory functions or it's not a good idea, except if you like segfault... ?Why not just use APC instead? I'm not sure I follow you. APC is an extension and I try to do my own extension. How could I use the functions of an other extension ?