Re: APR, Shared Memory and extern process

2008-11-18 Thread ricardo13
Sorin Manolache wrote: > > On Tue, Nov 18, 2008 at 20:17, ricardo13 <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I'm writing a apache's module that comunicate with a extern process. >> >> My extern process is built in C: >> >>char* shm_address; >>intshmid; >>key_t sh

Re: APR, Shared Memory and extern process

2008-11-18 Thread Sorin Manolache
On Tue, Nov 18, 2008 at 20:17, ricardo13 <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm writing a apache's module that comunicate with a extern process. > > My extern process is built in C: > >char* shm_address; >intshmid; >key_t shmkey; > >shmkey = 5678; >

APR, Shared Memory and extern process

2008-11-18 Thread ricardo13
Hi, I'm writing a apache's module that comunicate with a extern process. My extern process is built in C: char* shm_address; intshmid; key_t shmkey; shmkey = 5678; shmid = shmget(shmkey, SIZEOFSHMSEG, 0666); if (shmid == -1)