On Apr 19, 2007, at 6:25 PM, moh bad wrote:
Hi,
within a module,
what is the best way to store data, who need to be accessible to
all threads and process ?
1/ using shared memory, with apr_shm_*
#1
On Apr 21, 2007, at 12:28 AM, Saju Pillai wrote:
Read-Write data ? shm is ok. Any standard IPC should work.
apr provides this.
This question seems more suitable for the modules list.
Read Only data ? You may consider setting it up in post_config - alloc
from config pool. Your data will get copied into all children.
Read-Write data ? shm is ok. Any standard IPC should work.
-srp
On 20/04/07, moh bad [EMAIL PROTECTED]
Hi,
within a module,
what is the best way to store data, who need to be accessible to all threads
and process ?
1/ using shared memory, with apr_shm_*
2/ using the pool where is stored the module configuration. the one given
when the create per-server config structure function
is called.