Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(563)

Unified Diff: ipc/file_descriptor_set_posix.h

Issue 25325002: workaround for mac kernel bug (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: enabling fix Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ipc/file_descriptor_set_posix.cc » ('j') | ipc/ipc_channel.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/file_descriptor_set_posix.h
diff --git a/ipc/file_descriptor_set_posix.h b/ipc/file_descriptor_set_posix.h
index f9c6033c2a62a71483eb2e0d528e5acf8aa63fa3..340c563bd306ba17e1f8573af621fb76bed948d9 100644
--- a/ipc/file_descriptor_set_posix.h
+++ b/ipc/file_descriptor_set_posix.h
@@ -77,6 +77,9 @@ class IPC_EXPORT FileDescriptorSet
// Returns true if any contained file descriptors appear to be handles to a
// directory.
bool ContainsDirectoryDescriptor() const;
+ // Fetch all filedescriptors with the "auto close" property.
+ // Used instead of CommitAll() when closing must be handled manually.
+ void GetFDsToCloseAndClear(std::vector<int>* fds);
agl 2013/10/09 21:52:38 This looks more like a "release" operation than a
hubbe 2013/10/09 21:59:40 Done.
// ---------------------------------------------------------------------------
« no previous file with comments | « no previous file | ipc/file_descriptor_set_posix.cc » ('j') | ipc/ipc_channel.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698