[pulseaudio-discuss] rtkit: add pid as argument

Lennart Poettering lennart at poettering.net
Sat May 8 06:09:25 PDT 2010


On Sat, 08.05.10 11:21, Maarten Lankhorst (m.b.lankhorst at gmail.com) wrote:

> > So let my rephrase my question to Maarten: Since there is no equivalent
> > to RLIMIT_RTTIME in Windows, applications might assume they can run in
> > RT for extended periods of time. This might be considered bad
> > application behavior in any operating system, but nonetheless - do we
> > risc regressions when these applications are being killed, instead of
> > the previous behavior which just let them run in non-RT?
> I don't think this will happen, if it is going to I will handle
> SIGXCPU in wine, and just demote all realtime threads back to normal
> priority when that signal is sent by the kernel.

RLIMIT_RTTIME elapsing triggers a SIGKILL, not a SIGXCPU,
unfortunately. (And SIGKILL you cannot catch)

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4



More information about the pulseaudio-discuss mailing list