Tetsuya Furukawa wrote:
>coar wrote:
>>Synopsis: RewriteMap programs don't work on FreeBSD
>>
>>State-Changed-From-To: open-feedback
>>State-Changed-By: coar
>>State-Changed-When: Thu Dec 18 08:17:57 PST 1997
>>State-Changed-Why:
>>Is this still a problem with 1.2.4?  How about 1.3b3?
>>
>
>Apache 1.3b3 still has the problem on FreeBSD.
>
>I have made a simple fix, which is dirty and inefficient.
>Maybe it fixes the similar problem on SunOS 4.1.x also.

To make a clean fix, the API interface of general-purpose mutual
exclusion is helpful.
It may be:

In mod_rewrite.c:init_module():
    id = pmutex_init();

In mod_rewrite.c:lookup_map_program():
    pmutex_on(id);
    { ... /* critical section */ }
    pmutex_off(id);

--
Tetsuya FURUKAWA

Reply via email to