.. include:: ../../../examples/throughput/readme.rst

Source code
***********

.. literalinclude:: ../../../examples/throughput/Throughput.idl
    :linenos:
    :language: omg-idl
    :caption: Throughput.idl

.. literalinclude:: ../../../examples/throughput/publisher.c
    :linenos:
    :language: c
    :caption: publisher.c

.. literalinclude:: ../../../examples/throughput/subscriber.c
    :linenos:
    :language: c
    :caption: subscriber.c


.. note::

    There is also a Shared Memory variant of this example available.
