Hi 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/shm_counter.so 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? Pranesh -----Original Message----- From: michaelr [mailto:my...@freenet.de] Sent: Tuesday, November 22, 2011 4:37 AM To: modules-dev@httpd.apache.org 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: http://www.codemass.com/mod_shm_counter/ helped me a lot understanding the basic concepts of the apr shared memory functions.
smime.p7s
Description: S/MIME cryptographic signature