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

Add an abstraction to manage the life cycle of file descriptors.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reviewable
    • Major
    • Resolution: Unresolved
    • None
    • None
    • stout
    • None
    • Twitter Mesos Q3 Sprint 6
    • 5

    Description

      In order to avoid missing close() calls on file descriptors, or double-closing file descriptors, it would be nice to add a reference counted FileDescriptor in a similar way to what we've done for Socket. This will be closed automatically when the last reference goes away, and double closes can be prevented via internal state.

      Attachments

        Issue Links

          Activity

            People

              chzhcn Chi Zhang
              chzhcn Chi Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: