[maemo-developers] Default nice value setting
From: Faheem Pervez trippin1 at gmail.comDate: Wed Jun 17 10:42:06 EEST 2009
- Previous message: Default nice value setting
- Next message: Default nice value setting
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, Incidentially, you may have found this bug useful once upon a time: https://bugs.maemo.org/show_bug.cgi?id=374 *grin* But, anyway, the line you want to search in that bug is setpriority() which'll allow you to override the nice value from your app. Regards, Faheem On Wed, Jun 17, 2009 at 5:28 AM, Nick Nobody <me at nikosapi.org> wrote: > Hi, > > Is there a way to specify a default nice value for an application on maemo? > I > noticed that if an application is launched by the menu directly from an > executable (using the Exec variable in the .desktop file) it gets a nice > value > of -1. But, if the application is started over D-Bus (using the > X-Osso-Service > variable in the .desktop file) it gets a nice value of 0. > > The application I'm working on needs at least a nice value of -1 or else it > becomes unusable. Is there a way to make this happen while still being able > to > start the application over D-Bus? > > Thanks, > > nick > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20090617/3ea4670e/attachment.htm
- Previous message: Default nice value setting
- Next message: Default nice value setting
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]