You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Chi Zhang (JIRA)" <ji...@apache.org> on 2015/09/28 17:51:04 UTC
[jira] [Assigned] (MESOS-3520) Add an abstraction to manage the
life cycle of file descriptors.
[ https://issues.apache.org/jira/browse/MESOS-3520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chi Zhang reassigned MESOS-3520:
--------------------------------
Assignee: Chi Zhang
> Add an abstraction to manage the life cycle of file descriptors.
> ----------------------------------------------------------------
>
> Key: MESOS-3520
> URL: https://issues.apache.org/jira/browse/MESOS-3520
> Project: Mesos
> Issue Type: Improvement
> Components: stout
> Reporter: Chi Zhang
> Assignee: Chi Zhang
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)