mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Schwartzmeyer <>
Subject Re: Review Request 66434: Windows: Refactored `subprocess_windows.cpp` to use `os::open()`.
Date Wed, 04 Apr 2018 19:18:02 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated April 4, 2018, 12:18 p.m.)

Review request for mesos, Akash Gupta, Eric Mumau, John Kordich, Joseph Wu, and Michael Park.


Changed ordering.

Bugs: MESOS-8682

Repository: mesos


Previously, `os::open()` used the CRT function `_wopen()`, and so this
file was written to use the `CreateFile()` API directly. Now that
`os::open()` uses the Windows API, all this duplicate code can be
deleted in favor of using the `os::open()` and
`internal::windows::set_inherit()`. The major benefit here is that the
logic now almost exactly matches the POSIX counterpart in
`subprocess_posix.cpp`, to the point that we may want to recombine
these files in the future.


  3rdparty/libprocess/src/subprocess_windows.cpp 1a91fbe7aeb44174ccfa2e7e299bc7dd52a11b8a




Andrew Schwartzmeyer

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message