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

Add abstractions of "owned" and "shared" file descriptors to libprocess.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • libprocess
    • None
    • 3

    Description

      Libprocess currently manages file descriptors as plain int s. This leads to some easily missed bugs regarding duplicated or closed FDs.

      We should introduce an abstraction (like unique_ptr and shared_ptr) so that FD ownership can be expressed alongside the affected code.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kaysoky Joseph Wu
              Michael Park Michael Park
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: