On Thu, 2007-03-22 at 13:24 +1100, Bojan Smojver wrote: > It happened because I passed in (incorrectly) APR_OS_DEFAULT instead of > zero. Nevertheless, I think we may still have a problem with this > locking business.
Yep, definitely locks up with these flags specified to apr_file_mktemp(): APR_CREATE | APR_READ | APR_WRITE | APR_EXCL | APR_DELONCLOSE | APR_XTHREAD | APR_BUFFERED -- Bojan