Serializing requests?

2010-09-08 Thread Mike Meyer
I'm working on a module that I've finally decided can be characterized
as wanting to control access to something that - unlike most of the
things apache lets you access is - is only serially reusable.

I was wondering if there was something in Apache - or apr - that might
help with coordinating access to said recourse between different
invocations of the handler, or should I just use the standard unix
techniques as I would for CGI/etc?

 Thanks,
 mike
-- 
Mike Meyer m...@mired.org http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.

O ascii ribbon campaign - stop html mail - www.asciiribbon.org


Re: Serializing requests?

2010-09-08 Thread Nick Kew
On Wed, 8 Sep 2010 18:40:36 -0400
Mike Meyer mwm-keyword-apache.b9a...@mired.org wrote:

 I'm working on a module that I've finally decided can be characterized
 as wanting to control access to something that - unlike most of the
 things apache lets you access is - is only serially reusable.

You're looking for an APR global mutex.

Also ideally the modules-dev mailinglist, for future reference.

-- 
Nick Kew