Re: Real Time scheduler?

Roman Drahtmueller (draht2@rzlin1.ruf.uni-freiburg.de)
Mon, 8 Feb 1999 20:39:55 +0100 (MET)


> if (policy == SCHED_OTHER ) priority->sched_priority = 0;

Aehm,

I posted the one that is the result of a local discussion here on what
David describes as "good luck":
Add
priority = (struct sched_param *) malloc(sizeof(struct sched_param));

and it works. ftp://ftp.uni-freiburg.de/pub/linux/misc/tips/resched.c
is the non-discussed version. Thanks, David.

Roman.
Computer Center University of Freiburg, Germany.
"The whole world is about three drinks behind." (Humphrey Bogart)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/