2005-07-01 20:01:33 +02:00
|
|
|
#include "syslib.h"
|
|
|
|
|
|
|
|
/*===========================================================================*
|
2005-07-19 14:24:51 +02:00
|
|
|
* sys_nice *
|
2005-07-01 20:01:33 +02:00
|
|
|
*===========================================================================*/
|
2005-07-19 14:24:51 +02:00
|
|
|
PUBLIC int sys_nice(int proc, int prio)
|
2005-07-01 20:01:33 +02:00
|
|
|
{
|
|
|
|
message m;
|
|
|
|
|
|
|
|
m.m1_i1 = proc;
|
|
|
|
m.m1_i2 = prio;
|
2005-07-19 14:24:51 +02:00
|
|
|
return(_taskcall(SYSTASK, SYS_NICE, &m));
|
2005-07-01 20:01:33 +02:00
|
|
|
}
|