When i delete exit(1), nothing has changed but when i commented out all the
mutexes it works, counter is working well. That's great. :)
that means shared memory is working well.
in terms of mutexes
i need to create mutex in post config
in handler
1. lock mutex
2. process global variable
3. unlcok
hey guys,
i'm in terrible with these shared memory.
I tried to write a basic module by looking at the examples that basic
module just holds a counter and prints it to the client.
when i compile the code attached, i got no error messages. But in apache
error.log file i got
lots of
[notice] child pid
On Tue, 22 Nov 2011 09:41:02 -0500
"Pranesh Vadhirajan" wrote:
> Nick, can you suggest some of these higher-level abstractions, please? I
> have been trying to make a module of mine work with a POSIX shared memory
> implementation, but I'm going nowhere with that. Are you referring to the
>
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:[email protected]]
Sent: Tuesday, November 22, 2011 4:37 AM
To: [email protected]
Subject: Re: basic exam
On 22 Nov 2011, at 09:26, 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.
If you're planning to write a module, bear in mind that apache now provides
easy-to-use higher-level abs
mod_vlimit https://modules.apache.org/search.php?id=2570
This module count a number of simultaneous connections on shared memory.
2011/11/22 michaelr :
> 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
>> exam
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 c