update AsyncFileWriter to avoid writevFull() on Windows
Summary: Change folly/logging's AsyncFileWriter code to avoid calling writevFull() on Windows. On POSIX system we use this function to minimize the number of system calls we make. However, on Windows there is no `writev()` function provided by the system, so folly emulates this by performing multiple separate `write()` calls. Given that we are just going to perform multiple `write()` calls there is no reason to construct the iobuf data structure here. Differential Revision: D21367424 fbshipit-source-id: 8f6ba9d5fb36318a33d293a416008cd7fa03cb70
Showing
Please register or sign in to comment