Joseph Wu created MESOS-4536: -------------------------------- Summary: Add abstractions of "owned" and "shared" file descriptors to libprocess. Key: MESOS-4536 URL: https://issues.apache.org/jira/browse/MESOS-4536 Project: Mesos Issue Type: Improvement Components: libprocess Reporter: Joseph Wu Assignee: Joseph Wu
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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)