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]> 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_*

2/ using the pool where is stored the module configuration. the one given
when the  "create per-server config structure" function
    is called.

3/ other ...


thank you.

Reply via email to