httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pranesh Vadhirajan" <>
Subject RE: basic example shared memory code
Date Tue, 22 Nov 2011 14:47:45 GMT
     I compiled the code from the link you provided, but I received the following error when
I restarted httpd: 
	API module structure `shm_counter_module' in file /usr/lib/httpd/modules/ is
garbled - perhaps this is not an Apache module DSO?

I am not sure why I receive this error.  I'm running Apache 2.2.3 on a 64 bit Red Linux system.
 Any ideas on how to solve this issue?


-----Original Message-----
From: michaelr [] 
Sent: Tuesday, November 22, 2011 4:37 AM
Subject: Re: basic example shared memory code

On Tue, 2011-11-22 at 11:26 +0200, Oğuzhan TOPGÜL wrote:
> Hi guys, I'm trying to learn shared memory and mutex concepts and i need an
> example shared memory apache module code that was written in c.
> I found some codes, but none of them is working properly. I'm using ubuntu
> 10.10 as a development environment. Do you have any basic codes like shared
> memory counter or etc.
> If you can send me a working example, i'll be appreciated because i'm very
> very confused and stuck about shared memory concepts. I just need a basic
> example code snippet

The example module from:
helped me a lot understanding the basic concepts of the apr shared
memory functions.

View raw message