.. _org.freedesktop.portal.Realtime:

===============================
 Realtime
===============================

-----------
Description
-----------

.. _org.freedesktop.portal.Realtime Description:

Portal for setting threads to realtime

Interface for setting a thread to realtime from within the
sandbox. It is analogous to the org.freedesktop.RealtimeKit1
interface and will proxy requests there but with pid mapping.
The latter is necessary in the case that sandbox has pid namespace
isolation enabled.

Note that this proxy does not bypass any limitations that
RealtimeKit imposes on processes which are documented here:
https://git.0pointer.net/rtkit.git/tree/README

This documentation describes version 1 of this interface.



.. _org.freedesktop.portal.Realtime Properties:

----------
Properties
----------

.. _org.freedesktop.portal.Realtime:MaxRealtimePriority:

org.freedesktop.portal.Realtime:MaxRealtimePriority
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

::

    MaxRealtimePriority readable i





.. _org.freedesktop.portal.Realtime:MinNiceLevel:

org.freedesktop.portal.Realtime:MinNiceLevel
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

::

    MinNiceLevel readable i





.. _org.freedesktop.portal.Realtime:RTTimeUSecMax:

org.freedesktop.portal.Realtime:RTTimeUSecMax
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

::

    RTTimeUSecMax readable x





.. _org.freedesktop.portal.Realtime:version:

org.freedesktop.portal.Realtime:version
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

::

    version readable u




.. _org.freedesktop.portal.Realtime Methods:

-------
Methods
-------

.. _org.freedesktop.portal.Realtime.MakeThreadRealtimeWithPID:

org.freedesktop.portal.Realtime.MakeThreadRealtimeWithPID
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

::

    MakeThreadRealtimeWithPID (
      IN process t,
      IN thread t,
      IN priority u
    )





process
  Process id

thread
  Thread id

priority
  Priority



.. _org.freedesktop.portal.Realtime.MakeThreadHighPriorityWithPID:

org.freedesktop.portal.Realtime.MakeThreadHighPriorityWithPID
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

::

    MakeThreadHighPriorityWithPID (
      IN process t,
      IN thread t,
      IN priority i
    )





process
  Process id

thread
  Thread id

priority
  Priority


