Re: [PATCH] schedutils: don't assume SCHED_BATCH and SCHED_IDLE exist

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday 19 April 2009 10:34:10 Aurelien Jarno wrote:
> SCHED_FIFO, SCHED_OTHER, SCHED_RR are part of POSIX 1003.1b Process
> Scheduling, so it is correct to assume they always exists.
>
> SCHED_BATCH and SCHED_IDLE are Linux specific, we should not assume
> they exists.

looks like you add a whole lot of ifdef's for no real gain.  on non-Linux 
systems, you end up with options that simply dont work.  not a big deal.  on 
the flip side, these ifdef's are pretty invasive and split up code in a pretty 
bad way.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux