You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2015/09/26 20:55:04 UTC
[jira] [Updated] (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 ]
Benjamin Mahler updated MESOS-3520:
-----------------------------------
Story Points: 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.
Component/s: stout
Issue Type: Improvement (was: Bug)
Summary: Add an abstraction to manage the life cycle of file descriptors. (was: Add an abstraction to manage the life cycle of file descriptors)
Added to the description.
> 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
>
> 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)