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
|
|
|
*===========================================================================*/
|
2009-09-22 23:42:02 +02:00
|
|
|
PUBLIC int sys_nice(endpoint_t proc_ep, int prio)
|
2005-07-01 20:01:33 +02:00
|
|
|
{
|
|
|
|
message m;
|
|
|
|
|
2009-09-22 23:42:02 +02:00
|
|
|
m.PR_ENDPT = proc_ep;
|
2009-09-05 14:51:00 +02:00
|
|
|
m.PR_PRIORITY = prio;
|
2005-07-19 14:24:51 +02:00
|
|
|
return(_taskcall(SYSTASK, SYS_NICE, &m));
|
2005-07-01 20:01:33 +02:00
|
|
|
}
|