lkml.org 
[lkml]   [1999]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Real Time scheduler?
>     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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.064 / U:0.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site