|
Mojo: First stab at making MessagePipes work across OS pipes.
Given a running RawChannel, one can set up MessagePipes that have one endpoint
available locally (in the usual way) and the other endpoint proxied to the other
side of the OS-level "pipe" (which presumably has a symmetrical setup -- i.e.,
another RawChannel, etc.).
Currently, this has only been tested in-process, but apart from possible
synchronization/bootstrapping issues there's no reason it shouldn't work across
processes. (Whatever launches the process will have to begin the bootstrapping
by getting an OS pipe between processes and making sure things are appropriately
synchronized.)
Still to do:
- Properly handle errors (e.g., due to the pipe/process dying).
- Figure out how to start processes and bootstrap in that situation (and test
this).
R=darin@chromium.org, darin
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233638
Total comments: 13
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1281 lines, -115 lines) |
Patch |
|
M |
base/compiler_specific.h
|
View
|
|
1 chunk |
+22 lines, -0 lines |
2 comments
|
Download
|
|
M |
mojo/mojo.gyp
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
A |
mojo/system/channel.h
|
View
|
1
|
1 chunk |
+142 lines, -0 lines |
0 comments
|
Download
|
|
A |
mojo/system/channel.cc
|
View
|
1
|
1 chunk |
+215 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/system/local_message_pipe_endpoint.h
|
View
|
1
|
1 chunk |
+5 lines, -9 lines |
0 comments
|
Download
|
|
M |
mojo/system/local_message_pipe_endpoint.cc
|
View
|
|
5 chunks |
+20 lines, -24 lines |
0 comments
|
Download
|
|
M |
mojo/system/message_in_transit.h
|
View
|
1
|
3 chunks |
+46 lines, -11 lines |
0 comments
|
Download
|
|
M |
mojo/system/message_in_transit.cc
|
View
|
1
|
3 chunks |
+19 lines, -8 lines |
0 comments
|
Download
|
|
M |
mojo/system/message_pipe.h
|
View
|
|
3 chunks |
+22 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/system/message_pipe.cc
|
View
|
1
|
5 chunks |
+103 lines, -26 lines |
0 comments
|
Download
|
|
M |
mojo/system/message_pipe_dispatcher_unittest.cc
|
View
|
|
2 chunks |
+11 lines, -2 lines |
0 comments
|
Download
|
|
M |
mojo/system/message_pipe_endpoint.h
|
View
|
1
2
3
|
3 chunks |
+19 lines, -8 lines |
0 comments
|
Download
|
|
M |
mojo/system/message_pipe_endpoint.cc
|
View
|
1
|
3 chunks |
+11 lines, -4 lines |
0 comments
|
Download
|
|
M |
mojo/system/message_pipe_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
A |
mojo/system/proxy_message_pipe_endpoint.h
|
View
|
1
|
1 chunk |
+94 lines, -0 lines |
0 comments
|
Download
|
|
A |
mojo/system/proxy_message_pipe_endpoint.cc
|
View
|
1
|
1 chunk |
+144 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/system/raw_channel.h
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
mojo/system/raw_channel_posix.cc
|
View
|
1
|
3 chunks |
+13 lines, -5 lines |
0 comments
|
Download
|
|
M |
mojo/system/raw_channel_posix_unittest.cc
|
View
|
1
|
8 chunks |
+14 lines, -13 lines |
0 comments
|
Download
|
|
A |
mojo/system/raw_channel_win.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
|
A |
mojo/system/remote_message_pipe_posix_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+342 lines, -0 lines |
0 comments
|
Download
|
Total messages: 25 (0 generated)
|