commit | bb7c983c5abf9cb8d8b827b24cd82e40c227e36b | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Wed Dec 16 22:59:06 2015 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Wed Dec 16 22:59:06 2015 +0000 |
tree | 9af4e5ce17bc4c1fb47f4a75b7d37d38e774f01e | |
parent | 7a36028a83819aa49568d5d852a0f8fdae62aafb [diff] |
Drop an unnecessary use of writev. It looks like the code this patch deletes is based on a misunderstanding of what guarantees writev provides. In particular, writev with 1 iovec is not "more atomic" than a write. Testing on OS X shows that both write and writev from multiple processes can be intermixed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255837 91177308-0d34-0410-b5e6-96231b3b80d8