On Thu, 13 Jan 2005 19:01:28 +0100, Xavier Beaudouin <[EMAIL PROTECTED]> wrote: > Hello there, > > I have inside a Apache2 module a call to a non thread safe function. I > need then to do : > > mutex_set(); > call_to_non_thread_safe(); > unset_mutex(); > > Now I can do that using POSIX calls, but I really like to use APR calls. > > Is there any good doc
apr_thread_mutex.h > or even an example module I can use to make such > work ? $ cd /apache/source/tree $ grep apr_thread_mutex `find modules -name '*.c'` These modules will give examples of where in Apache module the initialization should occur, as well as sample calls during request processing.
