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.