Data streaming / sharing from client side in an IPC example
doebel at os.inf.tu-dresden.de
Thu Jan 30 11:22:58 CET 2014
-----BEGIN PGP SIGNED MESSAGE-----
> thank you very much for the kind answer. The solution You provided
> worked well. The only concern is as You know the data to be send
> can not have a greater size than the L4_UTCB_GENERIC_DATA_SIZE (due
> to UTCB size). So the question is do you have also another solution
> for larger data streaming? (Off course other than sending the data
> by means of various blocks with L4_UTCB_GENERIC_DATA_SIZE)
if splitting data into multiple packets does not suffice for you, you
might consider mapping whole memory pages from sender to receiver
(which in turn allows to build zero-copy scenarios).
An example for this can be found in l4/pkg/examples/libs/l4re/streammap.
There's furthermore the shmc library in l4/pkg/shmc, which allows you
to use shared-memory ring buffers between programs.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/
-----END PGP SIGNATURE-----
More information about the l4-hackers