Add DataPipe primitive to IPC

NEW
Unassigned

Status

()

Core
IPC
P3
normal
9 months ago
a month ago

People

(Reporter: jrmuizel, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 months ago
Mojo has a DataPipe primitive that uses shared memory for transferring large amount of data between processes. This would be useful functionality for us to have.

Updated

4 months ago
Priority: -- → P3
(Reporter)

Comment 1

2 months ago
As a reference here's the code for this in Mojo:
https://cs.chromium.org/chromium/src/mojo/edk/system/data_pipe_consumer_dispatcher.cc?sq=package:chromium&dr=CSs
https://cs.chromium.org/chromium/src/mojo/edk/system/data_pipe_producer_dispatcher.cc?sq=package:chromium&dr=CSs
https://cs.chromium.org/chromium/src/mojo/edk/system/data_pipe_control_message.cc?sq=package:chromium&dr=CSs

As I understand it basically has a shared memory ring buffer that data is copied into and out of and control with control messages that go over the usual ipc mechanism.
(Reporter)

Updated

2 months ago
Blocks: 1405824
You need to log in before you can comment on or make changes to this bug.