Would that mean that writev on Windows uses a mutex while plain write
does not? How do you avoid a race between write and writev then?

Currently=C2=A0apr_file_writev is alias for calling apr_file_write m=
ultiple times=C2=A0without taking lock. Also please note that =
mutexes helps only if write performed using same file_t in one process, it =
does not race conditions when write operation from different threads or pro=
cesses using different handles.=C2=A0