Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Because we need to keep the existing API of os::open (which is POSIX-y and currently uses the CRT _open on Windows), we'll need to map all the possible values for int oflag, mode_t mode to equivalent semantics in CreateFile.
Our intent is to open all files in overlapped mode by default; which can be read synchronously when needed (but the other way around is not possible). However, it may be that we'll need to use ReOpenFile to when sending file handles to child processes.
Attachments
Issue Links
- blocks
-
MESOS-8670 Implement `process::io::read/write` using Thread Pool API
- Resolved
-
MESOS-8675 Remove FD_CRT from WindowsFD
- Resolved