Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-8673

Fix os::open to use HANDLEs

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.0
    • 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

          Activity

            People

              andschwa Andrew Schwartzmeyer
              andschwa Andrew Schwartzmeyer
              Andrew Schwartzmeyer Andrew Schwartzmeyer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: