genode/repos/os/src/server/terminal_crosslink
2017-03-15 12:24:43 +01:00
..
main.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
README 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 terminal_crosslink: prevent deprecated warning 2017-03-15 12:24:43 +01:00
terminal_session_component.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
terminal_session_component.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00

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.