[ 
https://issues.apache.org/jira/browse/MESOS-4536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15120395#comment-15120395
 ] 

Anand Mazumdar commented on MESOS-4536:
---------------------------------------

Marking this as a dup of MESOS-3520. Feel free to chime in if you think 
otherwise.

> 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)

Reply via email to