[
https://issues.apache.org/jira/browse/MESOS-4536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15120401#comment-15120401
]
Joseph Wu commented on MESOS-4536:
----------------------------------
It should be fine to combine the issues. Although, we specifically also need
{{Owned}} FDs (not just reference counted FDs).
> 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)