nspluginviewer priority on newer linux kernel
Thiago Macieira
thiago at kde.org
Thu Aug 16 15:24:39 BST 2007
James Richard Tyrer wrote:
>Yes, exactly. The problem is that you need one process to send these
>signals to the other process. IIUC, listening at a socket doesn't
>accomplish this. That is to find out that the window doesn't have focus
>and stop using the CPU.
That would require a change to the NSPlugin API. The plugins themselves
have to voluntarily stop what they are doing in a decent manner.
You cannot simply stop the process execution with SIGSTOP. That could lead
to problems like timers not working, internal clock going out of sync,
connections being dropped due to inactivity, etc.
Imagine you have a file-uploader plugin and you're uploading a large file
over a slow connection. You want to keep working while it uploads, so you
want the plugin to keep running in the background, while you switch to
other tabs and other programs.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20070816/9d094d4b/attachment.sig>
More information about the kfm-devel
mailing list