DescriptionAdd member ownership_passes_to_ipc_ to SharedMemoryHandle on windows.
Prior to attachment brokering, the semantics for SharedMemoryHandle differed
between Windows and other platforms. On other platforms, if a handle is passed
to the IPC stack, there is a flag that indicates whether ownership also passed.
On Windows, there was no flag, and whether ownership was passed, or leaked
(waiting for another process to close it), was entirely context dependent.
Adding this flag to attachment-brokered SharedMemoryHandles on Windows mean that
they now have the same ownership semantics as SharedMemoryHandles on other
platforms.
BUG=580636
Committed: https://crrev.com/71bc3b2b02bdf75f04e672c5e1e77999a124b536
Cr-Commit-Position: refs/heads/master@{#372783}
Patch Set 1 #Patch Set 2 : Update comments. #Patch Set 3 : Minimal test. #
Messages
Total messages: 23 (9 generated)
|