Evgeny Kotkov <evgeny.kot...@visualsvn.com> writes:

> Currently, there are some cases in the Windows implementation of the file
> I/O that cause the unnecessary creation and acquisitions of the file mutex.
> These cases include handling O_APPEND-style writes and the implementation
> of the apr_file_buffer_set().
>
> Creating and acquiring the file mutex is only required for files opened
> with the APR_FOPEN_XTHREAD flag.  Otherwise, concurrent operations
> on the same apr_file_t instance should be serialized by the user, and
> the mutex is not required.
>
> This patch tweaks the implementation to only create and acquire/release
> the mutex for files opened with APR_FOPEN_XTHREAD.  The log message
> is included in the beginning of the patch file.

Committed in https://svn.apache.org/r1808457


Regards,
Evgeny Kotkov

Reply via email to