Re: Store data accessible by all process and threads.

2007-04-26 Thread Jim Jagielski
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

Re: Store data accessible by all process and threads.

2007-04-26 Thread Jim Jagielski
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.

Re: Store data accessible by all process and threads.

2007-04-20 Thread Saju Pillai
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]

Store data accessible by all process and threads.

2007-04-19 Thread moh bad
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.