Set threads to realtime.
Wrapper of the DBus interface: org.freedesktop.portal.Realtime.
org.freedesktop.portal.Realtime