lp:~raof/mir/manual-connection-dispatch
Created by
Chris Halse Rogers
and last modified
- Get this branch:
- bzr branch lp:~raof/mir/manual-connection-dispatch
Only
Chris Halse Rogers
can upload to this branch. If you are
Chris Halse Rogers
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Mir development team: Pending requested
-
Diff: 1750 lines (+912/-252)22 files modifiedsrc/client/mir_connection.cpp (+18/-2)
src/client/mir_connection.h (+12/-0)
src/client/rpc/CMakeLists.txt (+1/-0)
src/client/rpc/dispatchable.h (+55/-0)
src/client/rpc/mir_protobuf_rpc_channel.cpp (+10/-0)
src/client/rpc/mir_protobuf_rpc_channel.h (+8/-1)
src/client/rpc/simple_rpc_thread.cpp (+103/-0)
src/client/rpc/simple_rpc_thread.h (+50/-0)
src/client/rpc/stream_socket_transport.cpp (+47/-116)
src/client/rpc/stream_socket_transport.h (+4/-4)
src/client/rpc/stream_transport.h (+4/-5)
tests/include/mir_test/fd_utils.h (+69/-0)
tests/include/mir_test/test_protobuf_client.h (+8/-0)
tests/integration-tests/client/test_screencast.cpp (+6/-0)
tests/mir_test/CMakeLists.txt (+1/-0)
tests/mir_test/fd_utils.cpp (+40/-0)
tests/mir_test_doubles/test_protobuf_client.cpp (+5/-1)
tests/unit-tests/client/CMakeLists.txt (+1/-0)
tests/unit-tests/client/test_mir_connection.cpp (+107/-4)
tests/unit-tests/client/test_protobuf_rpc_channel.cpp (+2/-0)
tests/unit-tests/client/test_simple_rpc_thread.cpp (+105/-0)
tests/unit-tests/client/test_stream_transport.cpp (+256/-119)
Branch information
Recent revisions
- 1746. By Chris Halse Rogers
-
Test that MirConnection:
:watch_ fd() returns a pollable fd in manual dispatch mode - 1744. By Chris Halse Rogers
-
Test that MirConnection:
:watch_ fd() returns an invalid fd when in automatic dispatch mode - 1742. By Chris Halse Rogers
-
Add an option to MirConnection selecting between automatic and manual dispatch.
- 1738. By Chris Halse Rogers
-
Simplify StreamSocketTra
nsport: :dispatch. We don't actually need to do all that exception-catching, particularly since we don't do
anything but eat the exceptions anyway. - 1737. By Chris Halse Rogers
-
Move dispatch tests to the top of the file.
These are more primitive than the observer & data read/write ones
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:mir