[maemo-commits] [maemo-commits] r17454 - projects/haf/trunk/hildon-thumbnail/daemon
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Tue Feb 17 17:58:33 EET 2009
- Previous message: [maemo-commits] r17453 - projects/haf/trunk/hildon-thumbnail
- Next message: [maemo-commits] r17455 - projects/haf/trunk/hildon-thumbnail
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: marivoll Date: 2009-02-17 17:58:33 +0200 (Tue, 17 Feb 2009) New Revision: 17454 Modified: projects/haf/trunk/hildon-thumbnail/daemon/hildon-thumbnail-daemon.c Log: * daemon/hildon-thumbnail-daemon.c (initialize_priority): Only use SCHED_IDLE when it is defined. Modified: projects/haf/trunk/hildon-thumbnail/daemon/hildon-thumbnail-daemon.c =================================================================== --- projects/haf/trunk/hildon-thumbnail/daemon/hildon-thumbnail-daemon.c 2009-02-17 13:11:58 UTC (rev 17453) +++ projects/haf/trunk/hildon-thumbnail/daemon/hildon-thumbnail-daemon.c 2009-02-17 15:58:33 UTC (rev 17454) @@ -116,8 +116,12 @@ nice (19); + /* Maemo on X86 doesn't have new enough kernel headers. + */ +#ifdef SCHED_IDLE if (sched_getparam (0, &sp) == 0) - sched_setscheduler (0, SCHED_IDLE, &sp); + sched_setscheduler (0, SCHED_IDLE, &sp); +#endif } void
- Previous message: [maemo-commits] r17453 - projects/haf/trunk/hildon-thumbnail
- Next message: [maemo-commits] r17455 - projects/haf/trunk/hildon-thumbnail
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]