genode/repos/os/src/server/terminal_crosslink
Stefan Kalkowski 458b4d6fc4 base: redesign object pool using lambda interface
Instead of returning pointers to locked objects via a lookup function,
the new object pool implementation restricts object access to
functors resp. lambda expressions that are applied to the objects
within the pool itself.

Fix #884
Fix #1658
2015-09-09 15:14:28 +02:00
..
README Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
main.cc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
target.mk Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
terminal_root.h Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
terminal_session_component.cc base: redesign object pool using lambda interface 2015-09-09 15:14:28 +02:00
terminal_session_component.h os: Move Ring_buffer to Genode namespace 2015-04-17 16:13:21 +02:00

README

The 'terminal_crosslink' server allows exactly two clients to communicate with
each other using the 'Terminal' interface. Data sent to the server gets stored
in a buffer of 4096 bytes (one buffer per client). As long as the data to be
written fits into the buffer, the 'write()' call returns immediately. If no
more data fits into the buffer, the 'write()' call blocks until the other
client has consumed some of the data from the buffer via the 'read()' call. The
'read()' call never blocks. A signal receiver can be used to block until new
data is ready for reading.

Example
-------

An example run script 'terminal_crosslink.run' can be found in the 'os/run'
directory.