Module globals in a C++ extension
| From: | Kārlis Repsons | Date: | Mon, 23 Jan 2012 19:10:19 +0000 |
| Subject: | Module globals in a C++ extension | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-9065@lists.php.net to get a copy of this message | ||
Hi again,
could someone post some info about writing extensions in C++ with object
as a module global? (that is, regardless of the used MPM (or something
else), make some object instance common for all running instances of the
same extension)
For one, I wonder how many more extensions in pecl are written in C++,
not counting SCA_SDO? (looking for real-world examples!)
And .. may I? Is that reasonably easy to use CMake instead of auto*hell
to manage extension build process? Or why not?