apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "josh rotenberg" <joshrotenb...@gmail.com>
Subject Re: Shared Memory Usage Example
Date Thu, 31 May 2007 18:10:46 GMT
I haven't looked at them  that closely, but it looks like in the APR
distribution there are a few tests that exercise the apr_shm_* stuff,
namely testshm.c, testshmproducer.c, and testshmconsumer.c. Do these
get you anywhere?


On 5/31/07, Jacques Amar <jaapr@amar.com> wrote:
> I am using apr in a non httpd application. I would like to use a shared
> memory area to pass information between two different standalone
> programs, so I need the shmem to be named. I am trying NOT to resort to
> the built-in Linux shmget. Can anyone point a code example of this being
>   done properly. My current example gives me an error 17 => File Exists.
> Thanks

View raw message